summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hints/darwin.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/hints/darwin.sh b/hints/darwin.sh
index b4a7e52898..32a99b970b 100644
--- a/hints/darwin.sh
+++ b/hints/darwin.sh
@@ -88,6 +88,7 @@ so='dylib';
dlext='bundle';
dlsrc='dl_dyld.xs'; usedl='define';
cccdlflags=' '; # space, not empty, because otherwise we get -fpic
+ldflags="${ldflags} -flat_namepace"
lddlflags="${ldflags} -bundle -undefined suppress";
ldlibpthname='DYLD_LIBRARY_PATH';
useshrplib='true';
@@ -108,6 +109,7 @@ usemymalloc='n';
# Locales aren't feeling well.
LC_ALL=C; export LC_ALL;
+LANG=C; export LANG;
# Case-insensitive filesystems don't get along with Makefile and
# makefile in the same place. Since Darwin uses GNU make, this dodges
@@ -115,7 +117,7 @@ LC_ALL=C; export LC_ALL;
firstmakefile=GNUmakefile;
#
-# The libraries are not threadsafe as of OS X 10. (10.1?)
+# The libraries are not threadsafe as of OS X 10.1.
# Better stop now.
#
# Fix when Apple fixes libc.