From 02d161708fe903770775c2848c14a514836d4dfb Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 20 Jul 2012 12:28:50 +0000 Subject: 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 --- toolchain/kernel-headers/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'toolchain/kernel-headers') diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile index ca8a78ff1..7f0962ef9 100644 --- a/toolchain/kernel-headers/Makefile +++ b/toolchain/kernel-headers/Makefile @@ -36,6 +36,7 @@ HOST_EXTRACFLAGS= LINUX_HAS_HEADERS_INSTALL:=y KMAKE := $(MAKE) -C $(HOST_BUILD_DIR) \ + HOSTCFLAGS="$(HOST_CFLAGS) -Wall -Wmissing-prototypes -Wstrict-prototypes" \ ARCH=$(LINUX_KARCH) \ CC="$(KERNEL_CC)" \ CFLAGS="$(TARGET_CFLAGS)" \ -- cgit v1.2.3