[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:
Quincey Koziol 2015-05-14 20:21:58 -05:00
parent 37a07df7b4
commit e81f0ade77

View File

@ -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=