kbuild: enable 'make CFLAGS=...' to add additional options to CC
[linux-3.10.git] / arch / um / sys-x86_64 / Makefile
index 4d9e5ef..e446a99 100644 (file)
@@ -28,4 +28,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))