Merge pull request #129 from isapir/patch-2
use cflag -Wno-int-in-bool-context for gcc7 resolving #128
This commit is contained in:
commit
62902225a9
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 -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"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue