[makefile] Fix -fno-stack-protector test on older versions of gcc
authorMichael Brown <mcb30@etherboot.org>
Wed, 1 Oct 2008 18:05:39 +0000 (19:05 +0100)
committerMichael Brown <mcb30@etherboot.org>
Wed, 1 Oct 2008 18:24:56 +0000 (19:24 +0100)
commit91802c6e85fb5153d397ca019a95632841999c1f
tree85cf62a8e24137ae6d5d175c7357d7ebbffd120f
parentafe1323c76c84c5c5bf50ef8fb7aa593fe2ca2e0
[makefile] Fix -fno-stack-protector test on older versions of gcc

Some older versions of gcc don't complain about unknown compiler flags
unless you ask them to actually compile; asking them to merely
preprocess won't trigger the error.

Fix the -fno-stack-protector test by making it attempt to compile an
empty file, rather than preprocess an empty file.
src/Makefile.housekeeping