diff options
Diffstat (limited to 'payloads/libpayload/bin')
-rwxr-xr-x | payloads/libpayload/bin/lpgcc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/payloads/libpayload/bin/lpgcc b/payloads/libpayload/bin/lpgcc index 43eb016449..4eca091fda 100755 --- a/payloads/libpayload/bin/lpgcc +++ b/payloads/libpayload/bin/lpgcc @@ -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 |