mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
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:
parent
2a0fc9fbb4
commit
571bec726c
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue