ncurses: fix toolchain build
authorArne Fitzenreiter <arne_f@ipfire.org>
Thu, 1 Jun 2017 17:16:00 +0000 (19:16 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Thu, 1 Jun 2017 17:16:00 +0000 (19:16 +0200)
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
lfs/ncurses

index dd6e56f..1d8fd40 100644 (file)
@@ -96,7 +96,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 ifneq "$(ROOT)" ""
        mkdir -pv /tools/lib/pkgconfig/
 endif
-       cd $(DIR_APP) && ./configure $(EXTRA_CONFIG)
+       cd $(DIR_APP) && CPPFLAGS=-P ./configure $(EXTRA_CONFIG)
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install