Lines Matching refs:cflags
29 cflags-y :=
30 cflags-kernel-y :=
31 cflags-$(CONFIG_MK8) += $(call cc-option,-march=k8)
32 cflags-$(CONFIG_MPSC) += $(call cc-option,-march=nocona)
35 cflags-$(CONFIG_MCORE2) += \
37 cflags-$(CONFIG_GENERIC_CPU) += $(call cc-option,-mtune=generic)
39 cflags-y += -m64
40 cflags-y += -mno-red-zone
41 cflags-y += -mcmodel=kernel
42 cflags-y += -pipe
43 cflags-y += -Wno-sign-compare
44 cflags-y += -fno-asynchronous-unwind-tables
48 #cflags-y += $(call cc-option,-fweb)
52 cflags-y += $(call cc-option,-funit-at-a-time)
54 cflags-y += $(call cc-option,-mno-sse -mno-mmx -mno-sse2 -mno-3dnow,)
57 cflags-y += -maccumulate-outgoing-args
60 cflags-y += $(call as-instr,.cfi_startproc\n.cfi_endproc,-DCONFIG_AS_CFI=1,)
64 cflags-y += $(call as-instr,.cfi_startproc\n.cfi_signal_frame\n.cfi_endproc,-DCONFIG_AS_CFI_SIGNAL_FRAME=1,)
67 cflags-$(CONFIG_CC_STACKPROTECTOR) += $(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-x86_64-has-stack-protector.sh "$(CC)" -fstack-protector )
68 cflags-$(CONFIG_CC_STACKPROTECTOR_ALL) += $(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-x86_64-has-stack-protector.sh "$(CC)" -fstack-protector-all )
70 CFLAGS += $(cflags-y)
71 CFLAGS_KERNEL += $(cflags-kernel-y)