x86-64/EFI: add CFLAGS to check compile
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>
Wed, 15 Aug 2012 07:42:14 +0000 (09:42 +0200)
committerDaniel De Graaf <dgdegra@tycho.nsa.gov>
Wed, 15 Aug 2012 07:42:14 +0000 (09:42 +0200)
commitdd40177c1bc86650a2be9786289ebe0397b1c0a3
treee232b3b6e1296e26244026ee64990a8397c952f1
parent040c473d1925e5f471f8aa1b335465816274d3e2
x86-64/EFI: add CFLAGS to check compile

Without this, the compilation of check.c could fail due to compiler
features such as -fstack-protector being enabled, which causes a
missing __stack_chk_fail symbol error.

Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Rather than using plain CFLAGS here, remove CFLAGS-y from them to
particularly get rid of the -MF argument referencing (the undefined
here) $(@F).

The use of CFLAGS at once allows dropping the explicit use of -Werror.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Committed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/efi/Makefile