diff options
author | Nicolas Thill <nico@openwrt.org> | 2007-09-03 05:00:38 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2007-09-03 05:00:38 +0000 |
commit | 8680e1d07d16c7e6040210b9cebe57ccc669130d (patch) | |
tree | 493590ae4c5db4b8e7c92107f1e7925776c358d5 /package/ncurses | |
parent | 3e2b718c4c75254106509b3316fa651ef71877c3 (diff) | |
download | mtk-20170518-8680e1d07d16c7e6040210b9cebe57ccc669130d.zip mtk-20170518-8680e1d07d16c7e6040210b9cebe57ccc669130d.tar.gz mtk-20170518-8680e1d07d16c7e6040210b9cebe57ccc669130d.tar.bz2 |
use $(TARGET_CPPFLAGS) & $(TARGET_LDFLAGS) instead of full -I... & -L...
SVN-Revision: 8578
Diffstat (limited to 'package/ncurses')
-rw-r--r-- | package/ncurses/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/ncurses/Makefile b/package/ncurses/Makefile index d9fc45a..ba0da00 100644 --- a/package/ncurses/Makefile +++ b/package/ncurses/Makefile @@ -80,8 +80,8 @@ define Build/Compile (cd $(PKG_BUILD_DIR); rm -f config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ - CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \ - LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \ + CPPFLAGS="$(TARGET_CPPFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ |