kbuild: enable 'make AFLAGS=...' to add additional options to AS
[linux-2.6-block.git] / arch / um / Makefile-i386
index 26bc786fc61445c4709360b104ef5d004379bf66..d10e4dc0dae85698cea8fc6f88fbbe29be802e0c 100644 (file)
@@ -16,7 +16,7 @@ OBJCOPYFLAGS                  := -O binary -R .note -R .comment -S
 ifeq ("$(origin SUBARCH)", "command line")
 ifneq ("$(shell uname -m | sed -e s/i.86/i386/)", "$(SUBARCH)")
 KBUILD_CFLAGS          += $(call cc-option,-m32)
-AFLAGS                 += $(call cc-option,-m32)
+KBUILD_AFLAGS          += $(call cc-option,-m32)
 LINK-y                 += $(call cc-option,-m32)
 UML_OBJCOPYFLAGS       += -F $(ELF_FORMAT)