Re: [patch 5/5] Add the -fstack-protector option to the CFLAGS

Andi Kleen
2006-07-28T18:44:44Z

> +ifdef CONFIG_CC_STACKPROTECTOR
> +CFLAGS += $(call cc-ifversion, -lt, 0402, -fno-stack-protector)
> +CFLAGS += $(call cc-ifversion, -ge, 0402, -fstack-protector)

Why can't you just use the normal call cc-option for this?

-Andi