]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/um/Makefile-i386
Merge ../linux-2.6 by hand
[linux-2.6-omap-h63xx.git] / arch / um / Makefile-i386
index 2ee8a2858117357f3ae2fdc1412ff42fe633cedc..aef7c50f8e1365a6478de2d84471bab6213e1547 100644 (file)
@@ -29,6 +29,12 @@ endif
 
 CFLAGS += -U__$(SUBARCH)__ -U$(SUBARCH)
 
-ifneq ($(CONFIG_GPROF),y)
-ARCH_CFLAGS += -DUM_FASTCALL
-endif
+# First of all, tune CFLAGS for the specific CPU. This actually sets cflags-y.
+include $(srctree)/arch/i386/Makefile.cpu
+
+# prevent gcc from keeping the stack 16 byte aligned. Taken from i386.
+cflags-y += $(call cc-option,-mpreferred-stack-boundary=2)
+
+CFLAGS += $(cflags-y)
+USER_CFLAGS += $(cflags-y)
+