]> xenbits.xensource.com Git - osstest/seabios.git/commit
build: use -fstack-check=no when available
authorMagnus Granberg <zorry@gentoo.org>
Fri, 11 Sep 2015 21:38:40 +0000 (17:38 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 13 Sep 2015 13:57:24 +0000 (09:57 -0400)
commite4d2b8ce5db86bd56efdaf64b974925bd7a7b249
tree4cd0de5004901104ed74bc84a55568cd58dbd378
parent75cb2b962d9c9e55afc5bae58d770f6ccdc826da
build: use -fstack-check=no when available

Some compilers (such as the one in hardened/Gentoo) default this
option to on which leads to build failures:
src/stacks.c: In function 'call16_back':
src/stacks.c:139:5: error: 'asm' operand has impossible constraints
     asm volatile(
     ^

URL: https://bugs.gentoo.org/559980
Reported-by: Alon Bar-Lev <alonbl@gentoo.org>
Signed-off-by: Magnus Granberg <zorry@gentoo.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Makefile