diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-02-28 13:28:18 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-02-28 13:28:18 +0000 |
commit | 15a9b61bbd1c7d1dec7cdb0992462356aec63905 (patch) | |
tree | 8b254a70414006b5e5905f6c98712247aa86ed1c /include/package.mk | |
parent | 74f71f073998a53fb09409d59df65d1c03e94001 (diff) | |
download | mtk-20170518-15a9b61bbd1c7d1dec7cdb0992462356aec63905.zip mtk-20170518-15a9b61bbd1c7d1dec7cdb0992462356aec63905.tar.gz mtk-20170518-15a9b61bbd1c7d1dec7cdb0992462356aec63905.tar.bz2 |
fix kexec-tools build
SVN-Revision: 6428
Diffstat (limited to 'include/package.mk')
-rw-r--r-- | include/package.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/package.mk b/include/package.mk index 95508bc..389ee5b 100644 --- a/include/package.mk +++ b/include/package.mk @@ -303,12 +303,14 @@ CONFIGURE_ARGS := \ --infodir=/usr/info \ $(DISABLE_NLS) +TARGET_CPPFLAGS=-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include +TARGET_LDFLAGS=-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib CONFIGURE_VARS:= \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ CXXFLAGS="$(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)" \ PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \ PKG_CONFIG_LIBDIR="$(STAGING_DIR)/usr/lib/pkgconfig" |