blob: 6fd4b2e28192bd07ed1e6b378274b01baa557564 [file] [log] [blame]
arch-cflags = $(call cc-option,-march=lakemont -mtune=lakemont -msoft-float, -march=pentium)
ifeq ($(CONFIG_X86_IAMCU),y)
arch-cflags += $(call cc-option,-miamcu)
else
arch-cflags += $(call cc-option,-mno-iamcu)
endif
KBUILD_CFLAGS += $(arch-cflags)
KBUILD_CXXFLAGS += $(arch-cflags)
KBUILD_AFLAGS += $(KBUILD_CFLAGS)