kbuild: enable 'make CFLAGS=...' to add additional options to CC
[linux-3.10.git] / arch / um / sys-i386 / Makefile
index d6b3ecd..8909b07 100644 (file)
@@ -20,4 +20,4 @@ CFLAGS_stub_segv.o := $(CFLAGS_NO_HARDENING)
 
 include arch/um/scripts/Makefile.rules
 
-$(obj)/unmap.%: _c_flags = $(call unprofile,$(CFLAGS))
+$(obj)/unmap.%: _c_flags = $(call unprofile,$(KBUILD_CFLAGS))