mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r27066] Description:
Protect gcc 5 debugging options Tested on: MacOSX/64 10.10.3 (amazon) w/gcc 5.1
This commit is contained in:
parent
37a07df7b4
commit
e81f0ade77
@ -111,7 +111,14 @@ case "$cc_vendor-$cc_version" in
|
||||
PROD_CPPFLAGS=
|
||||
|
||||
# Debug
|
||||
DEBUG_CFLAGS="-Og -g -ftrapv -fno-common"
|
||||
case "$cc_vendor-$cc_version" in
|
||||
gcc-5.*)
|
||||
DEBUG_CFLAGS="-Og -g -ftrapv -fno-common"
|
||||
;;
|
||||
*)
|
||||
DEBUG_CFLAGS="-g"
|
||||
;;
|
||||
esac
|
||||
#DEBUG_CFLAGS="$DEBUG_CFLAGS -fsanitize=undefined"
|
||||
DEBUG_CPPFLAGS=
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user