Use POSIX c99 and pass -std=c99 just to be safe.
This commit is contained in:
parent
d0969d0dd7
commit
6750134adc
1 changed files with 2 additions and 2 deletions
4
configure
vendored
4
configure
vendored
|
@ -13,12 +13,12 @@ SRC="src"
|
||||||
INCLUDE="src/include"
|
INCLUDE="src/include"
|
||||||
TOOLS="tools"
|
TOOLS="tools"
|
||||||
|
|
||||||
CFLAGS="-Wall -Wextra -pedantic -std=c89 -O3 -pipe -D_DEFAULT_SOURCE -I${INCLUDE}"
|
CFLAGS="-Wall -Wextra -pedantic -std=c99 -O3 -pipe -D_DEFAULT_SOURCE -I${INCLUDE}"
|
||||||
LIBS="-lm -pthread"
|
LIBS="-lm -pthread"
|
||||||
|
|
||||||
|
|
||||||
# Set default args for all platforms
|
# Set default args for all platforms
|
||||||
SCRIPT_ARGS="--cc=cc --prefix=/usr/local --enable-ld-extra --lib-name=Cytoplasm --lib-version=0.4.1 $@"
|
SCRIPT_ARGS="--cc=c99 --prefix=/usr/local --enable-ld-extra --lib-name=Cytoplasm --lib-version=0.4.1 $@"
|
||||||
|
|
||||||
# Set platform specific args
|
# Set platform specific args
|
||||||
case "$(uname)" in
|
case "$(uname)" in
|
||||||
|
|
Loading…
Reference in a new issue