Merge pull request #129 from isapir/patch-2

use cflag -Wno-int-in-bool-context for gcc7 resolving #128
This commit is contained in:
Jeff Ahrenholz 2017-08-28 07:51:58 -07:00 committed by GitHub
commit 62902225a9

View file

@ -115,7 +115,7 @@ AC_SUBST(CORE_STATE_DIR)
# default compiler flags # default compiler flags
# _GNU_SOURCE is defined to get c99 defines for lrint() # _GNU_SOURCE is defined to get c99 defines for lrint()
CFLAGS="$CFLAGS -O3 -Werror -Wall -D_GNU_SOURCE" CFLAGS="$CFLAGS -O3 -Werror -Wall -Wno-int-in-bool-context -D_GNU_SOURCE"
# debug flags # debug flags
#CFLAGS="$CFLAGS -g -Werror -Wall -D_GNU_SOURCE" #CFLAGS="$CFLAGS -g -Werror -Wall -D_GNU_SOURCE"