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

From: Andi Kleen
Date: Fri Jul 28 2006 - 14:42:42 EST



> +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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/