mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
[svn-r25677] HDFFV-8933:
Did not provide default values for clang++ options. Also, applied wrong values for the *_CPPFLAGS. Solution: Added default values for *_CXXFLAGS. Fixed the *_CPPFLAGS values. Tested: wren with and without --enable-production.
This commit is contained in:
parent
ab33b7f34d
commit
9645159614
16
config/apple
16
config/apple
@ -34,17 +34,17 @@ if test "X-" = "X-$CC"; then
|
||||
|
||||
# Production
|
||||
PROD_CFLAGS="-O3"
|
||||
PROD_CPPFLAGS="-O3"
|
||||
PROD_CPPFLAGS=
|
||||
|
||||
# Debug
|
||||
DEBUG_CFLAGS="-g -O0"
|
||||
DEBUG_CPPFLAGS="-g -O0"
|
||||
DEBUG_CPPFLAGS=
|
||||
|
||||
# Profile
|
||||
# Use this for profiling with gprof
|
||||
# Just "-g" for now. More later.
|
||||
PROFILE_CFLAGS="-g"
|
||||
PROFILE_CPPFLAGS="-g"
|
||||
PROFILE_CPPFLAGS=
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
@ -103,6 +103,16 @@ if test "X-" = "X-$CXX"; then
|
||||
esac
|
||||
fi
|
||||
|
||||
case $CXX_BASENAME in
|
||||
clang++)
|
||||
PROD_CXXFLAGS="-O3"
|
||||
DEBUG_CXXFLAGS="-g -O0"
|
||||
# Use this for profiling with gprof
|
||||
# Just "-g" for now. More later.
|
||||
PROFILE_CXXFLAGS="-g"
|
||||
;;
|
||||
esac
|
||||
|
||||
# compiler version strings
|
||||
case $CC in
|
||||
clang)
|
||||
|
Loading…
Reference in New Issue
Block a user