Added "-Werror=implicit-function-declaration" to CFLAGS in the
configure script, now that Alessandro De Laurenzis has cleaned up the code so that it will compile with the setting (now, just need to do the same thing for "implicit-int"!).
This commit is contained in:
parent
d229aefb15
commit
5aee1dcb5a
|
|
@ -7780,7 +7780,7 @@ case $target in
|
|||
|
||||
case $target in
|
||||
*x86_64*)
|
||||
CFLAGS="${CFLAGS} -m64 -fPIC"
|
||||
CFLAGS="${CFLAGS} -m64 -fPIC -Werror=implicit-function-declaration"
|
||||
;;
|
||||
esac
|
||||
if test $usingOGL ; then
|
||||
|
|
|
|||
|
|
@ -1359,7 +1359,7 @@ case $target in
|
|||
dnl 64-bit support for AMD Opteron
|
||||
case $target in
|
||||
*x86_64*)
|
||||
CFLAGS="${CFLAGS} -m64 -fPIC"
|
||||
CFLAGS="${CFLAGS} -m64 -fPIC -Werror=implicit-function-declaration"
|
||||
;;
|
||||
esac
|
||||
if test $usingOGL ; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue