libpayload/lpgcc: Add curses include path.
Without it payloads that need curses fail to build. Change-Id: I4533238b547e4c2d9e0778fb7d314db35a9559df Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/4689 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
committed by
Nico Huber
parent
2a0fc9fbb4
commit
571bec726c
@ -135,6 +135,14 @@ done
|
||||
|
||||
_CFLAGS="$_ARCHEXTRA -nostdinc -nostdlib -I$BASE/../build -I$_INCDIR -I$_ARCHINCDIR -D__LIBPAYLOAD__=1"
|
||||
|
||||
if [ "$CONFIG_PDCURSES" = y ]; then
|
||||
_CFLAGS="$_CFLAGS -I$BASE/../curses/PDCurses-3.4"
|
||||
fi
|
||||
|
||||
if [ "$CONFIG_TINYCURSES" = y ]; then
|
||||
_CFLAGS="$_CFLAGS -I$BASE/../curses"
|
||||
fi
|
||||
|
||||
# Check for the -fno-stack-protector silliness
|
||||
|
||||
trygccoption -fno-stack-protector
|
||||
|
Reference in New Issue
Block a user