diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-07-20 12:28:50 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-07-20 12:28:50 +0000 |
commit | 5d7bf2454a2f272671032cf0f9abb13841d34328 (patch) | |
tree | 3cb7706070e67da2c0595816d11631d23a8cad8d /toolchain/kernel-headers | |
parent | 63d2c81f0129c5ec81760d6b464c2798a319e54a (diff) | |
download | upstream-5d7bf2454a2f272671032cf0f9abb13841d34328.tar.gz upstream-5d7bf2454a2f272671032cf0f9abb13841d34328.tar.bz2 upstream-5d7bf2454a2f272671032cf0f9abb13841d34328.zip |
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 'toolchain/kernel-headers')
-rw-r--r-- | toolchain/kernel-headers/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile index ca8a78ff16..7f0962ef9d 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)" \ |