More_tweakage.
[p5sagit/p5-mst-13.2.git] / hints / darwin.sh
index fd61e42..8f3bb06 100644 (file)
@@ -41,13 +41,16 @@ optimize='-O3';
 # We have a prototype for telldir.
 ccflags="${ccflags} -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE";
 
+# For Errno.
+cppflags='-traditional-cpp';
+
 # Shared library extension is .dylib.
 # Bundle extension is .bundle.
 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';
@@ -61,3 +64,15 @@ usevfork='true';
 
 # malloc works
 usemymalloc='n';
+
+##
+# Build process
+##
+
+# Locales aren't feeling well.
+LC_ALL=C; export LC_ALL;
+
+# The HFS+ will throw "make depend" into confusion since
+# Makefile and makefile are the same.
+firstmakefile=GNUmakefile;
+