]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[build] Avoid using -ffunction-sections on some older versions of gcc
authorMichael Brown <mcb30@ipxe.org>
Wed, 29 Jun 2011 10:42:07 +0000 (11:42 +0100)
committerMichael Brown <mcb30@ipxe.org>
Wed, 29 Jun 2011 10:48:29 +0000 (11:48 +0100)
commit95d82bb2a23bf645d995aed0d643cc34d5d8a3af
treeec1c7965f7df1792984a704a48da987a643f4dd9
parent00afad81229fcf24512e5fe9f139d03c587d6e72
[build] Avoid using -ffunction-sections on some older versions of gcc

Some older versions of gcc issue a warning if -ffunction-sections is
used in combination with -g (gcc bug #18553).  Inhibit
-ffunction-sections when building with such a version of gcc.

Reported-by: zhengwei <zw111_2001@126.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/Makefile.housekeeping