Use -no-cpp-precomp instead of -traditional-cpp for darwin
Bug #106617 git-svn-id: svn://10.0.0.236/trunk@108011 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
2
mozilla/nsprpub/configure
vendored
2
mozilla/nsprpub/configure
vendored
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user