added -Wno-int-in-bool-context instead of removing -Werror

This commit is contained in:
Igal 2017-08-22 23:13:54 -07:00 committed by GitHub
parent 86523c75d7
commit 585d62ebb9

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 -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"