mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Build ports with -Werror=implicit-function-declaration.
This commit is contained in:
parent
d879c2343b
commit
224c6595bc
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ if [ -z "${PORTS_CFLAGS+x}" ]; then PORTS_CFLAGS="$PORTS_OPTLEVEL"; fi
|
||||||
if [ -z "${PORTS_CXXFLAGS+x}" ]; then PORTS_CXXFLAGS="$PORTS_OPTLEVEL"; fi
|
if [ -z "${PORTS_CXXFLAGS+x}" ]; then PORTS_CXXFLAGS="$PORTS_OPTLEVEL"; fi
|
||||||
if [ -z "${CFLAGS+x}" ]; then CFLAGS="$PORTS_CFLAGS"; fi
|
if [ -z "${CFLAGS+x}" ]; then CFLAGS="$PORTS_CFLAGS"; fi
|
||||||
if [ -z "${CXXFLAGS+x}" ]; then CXXFLAGS="$PORTS_CXXFLAGS"; fi
|
if [ -z "${CXXFLAGS+x}" ]; then CXXFLAGS="$PORTS_CXXFLAGS"; fi
|
||||||
CFLAGS="$CFLAGS -Werror=format -Wno-error=format-contains-nul"
|
CFLAGS="$CFLAGS -Werror=format -Wno-error=format-contains-nul -Werror=implicit-function-declaration"
|
||||||
CXXFLAGS="$CXXFLAGS -Werror=format -Wno-error=format-contains-nul"
|
CXXFLAGS="$CXXFLAGS -Werror=format -Wno-error=format-contains-nul"
|
||||||
export CFLAGS
|
export CFLAGS
|
||||||
export CXXFLAGS
|
export CXXFLAGS
|
||||||
|
|
Loading…
Reference in a new issue