mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-29 01:24:51 +02:00
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:
Vendored
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user