In the latest compiler builds cccdlflags must not become -fpic,
Jarkko Hietaniemi [Fri, 20 Oct 2000 00:59:48 +0000 (00:59 +0000)]
from Wilfredo Sánchez.

p4raw-id: //depot/perl@7374

hints/darwin.sh

index fd61e42..8625798 100644 (file)
@@ -47,7 +47,7 @@ ld='cc';
 so='dylib';
 dlext='bundle';
 dlsrc='dl_dyld.xs'; usedl='define';
-cccdlflags='';
+cccdlflags=' '; # space, not empty, because otherwise we get -fpic
 lddlflags="${ldflags} -bundle -undefined suppress";
 ldlibpthname='DYLD_LIBRARY_PATH';
 useshrplib='true';