diff options
Diffstat (limited to 'arch/um/Makefile-i386')
| -rw-r--r-- | arch/um/Makefile-i386 | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/arch/um/Makefile-i386 b/arch/um/Makefile-i386 index 2ee8a2858117..aef7c50f8e13 100644 --- a/arch/um/Makefile-i386 +++ b/arch/um/Makefile-i386 | |||
| @@ -29,6 +29,12 @@ endif | |||
| 29 | 29 | ||
| 30 | CFLAGS += -U__$(SUBARCH)__ -U$(SUBARCH) | 30 | CFLAGS += -U__$(SUBARCH)__ -U$(SUBARCH) |
| 31 | 31 | ||
| 32 | ifneq ($(CONFIG_GPROF),y) | 32 | # First of all, tune CFLAGS for the specific CPU. This actually sets cflags-y. |
| 33 | ARCH_CFLAGS += -DUM_FASTCALL | 33 | include $(srctree)/arch/i386/Makefile.cpu |
| 34 | endif | 34 | |
| 35 | # prevent gcc from keeping the stack 16 byte aligned. Taken from i386. | ||
| 36 | cflags-y += $(call cc-option,-mpreferred-stack-boundary=2) | ||
| 37 | |||
| 38 | CFLAGS += $(cflags-y) | ||
| 39 | USER_CFLAGS += $(cflags-y) | ||
| 40 | |||
