projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use $(TARGET_CPPFLAGS) & $(TARGET_LDFLAGS) instead of full -I... & -L...
[openwrt.git]
/
package
/
ncurses
/
Makefile
diff --git
a/package/ncurses/Makefile
b/package/ncurses/Makefile
index
d9fc45a
..
ba0da00
100644
(file)
--- 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)" \
(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) \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
This page took
0.02275 seconds
and
4
git commands to generate.