added -Wno-int-in-bool-context instead of removing -Werror
This commit is contained in:
parent
86523c75d7
commit
585d62ebb9
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue