summaryrefslogtreecommitdiffstats
path: root/src/ncurses.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/ncurses.mk')
-rw-r--r--src/ncurses.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ncurses.mk b/src/ncurses.mk
index d5a6320..a7a29fd 100644
--- a/src/ncurses.mk
+++ b/src/ncurses.mk
@@ -35,8 +35,8 @@ define $(PKG)_BUILD
--host='$(TARGET)' \
--build="`config.guess`" \
--prefix=$(PREFIX)/$(TARGET) \
- --with-build-cc=gcc \
- --with-build-cpp=cpp \
+ --with-build-cc=$(BUILD_CC) \
+ --with-build-cpp='$(BUILD_CC) -E' \
--disable-home-terminfo \
--enable-sp-funcs \
--enable-term-driver \