[patch 1/2] kexec add strict-prototypes
Geoff Levand
geoffrey.levand at am.sony.com
Tue May 8 20:33:11 EDT 2007
Add the complier flag -Wstrict-prototypes to EXTRA_CFLAGS.
Signed-off-by: Geoff Levand <geoffrey.levand at am.sony.com>
---
configure.ac | 2 -
--- kexec-tools-hacked.orig/configure.ac
+++ kexec-tools-hacked/configure.ac
@@ -59,7 +59,7 @@ if test "${host_alias}" ; then
OBJDIR="$OBJDIR-${host_alias}"
fi
-EXTRA_CFLAGS='-Wall -g -fno-strict-aliasing $(CPPFLAGS) $(EXTRA_CPPFLAGS)'
+EXTRA_CFLAGS='-Wall -g -fno-strict-aliasing -Wstrict-prototypes $(CPPFLAGS) $(EXTRA_CPPFLAGS)'
BUILD_CFLAGS='-O2 -Wall $(CPPFLAGS)'
# Check whether ppc64. Add -m64 for building 64-bit binary
More information about the kexec
mailing list