summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseawood%netscape.com <devnull@localhost>2001-11-14 04:01:43 +0000
committerseawood%netscape.com <devnull@localhost>2001-11-14 04:01:43 +0000
commitb28b24817b0d8fb3a6b645bc7c91a1fcb3f080ae (patch)
treeda452070e3d4b6d5156b7252fbef28b19b44287e
parent75302eeb6c7c6dc08ba734a1cbaf1184c929fdec (diff)
downloadnspr-hg-b28b24817b0d8fb3a6b645bc7c91a1fcb3f080ae.tar.gz
Use -no-cpp-precomp instead of -traditional-cpp for darwin
Bug #106617
-rwxr-xr-xconfigure2
-rw-r--r--configure.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 2a6c4542..4da2bb9c 100755
--- a/configure
+++ b/configure
@@ -3130,7 +3130,7 @@ EOF
fi
DSO_LDOPTS='-dynamiclib -compatibility_version 1 -current_version 1 -all_load -install_name @executable_path/$@'
# Use the standard preprocessor (cpp)
- CFLAGS="$CFLAGS -traditional-cpp"
+ CFLAGS="$CFLAGS -no-cpp-precomp"
MKSHLIB='$(CC) -arch $(CPU_ARCH) $(DSO_LDOPTS) -o $@'
STRIP="$STRIP -x -S"
DLL_SUFFIX=dylib
diff --git a/configure.in b/configure.in
index ddb625fb..67edf890 100644
--- a/configure.in
+++ b/configure.in
@@ -799,7 +799,7 @@ case "$target" in
fi
DSO_LDOPTS='-dynamiclib -compatibility_version 1 -current_version 1 -all_load -install_name @executable_path/$@'
# Use the standard preprocessor (cpp)
- CFLAGS="$CFLAGS -traditional-cpp"
+ CFLAGS="$CFLAGS -no-cpp-precomp"
MKSHLIB='$(CC) -arch $(CPU_ARCH) $(DSO_LDOPTS) -o $@'
STRIP="$STRIP -x -S"
DLL_SUFFIX=dylib