summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-07-20 12:28:50 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-07-20 12:28:50 +0000
commit02d161708fe903770775c2848c14a514836d4dfb (patch)
tree3cb7706070e67da2c0595816d11631d23a8cad8d /include
parentec42626609ab22352d611d7dd5286e8b7249fcd0 (diff)
kernel: fix portability issues on the x86 specific relocs host tool, fixes build on mac os x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32783 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/kernel-defaults.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk
index b63092ac6b..5c4ef9f62c 100644
--- a/include/kernel-defaults.mk
+++ b/include/kernel-defaults.mk
@@ -6,6 +6,7 @@
#
KERNEL_MAKEOPTS := -C $(LINUX_DIR) \
+ HOSTCFLAGS="$(HOST_CFLAGS) -Wall -Wmissing-prototypes -Wstrict-prototypes" \
CROSS_COMPILE="$(KERNEL_CROSS)" \
ARCH="$(LINUX_KARCH)" \
KBUILD_HAVE_NLS=no \