projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9aa2ba
)
iproute2: ensure TARGET_LDFLAGS are used
author
Peter Korsgaard
<peter@korsgaard.com>
Thu, 21 May 2015 15:32:24 +0000
(17:32 +0200)
committer
Peter Korsgaard
<peter@korsgaard.com>
Thu, 21 May 2015 21:22:52 +0000
(23:22 +0200)
Otherwise we can end up with various linker issues (E.G. linking shared
against libc for a static build, ..).
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/iproute2/iproute2.mk
patch
|
blob
|
history
diff --git
a/package/iproute2/iproute2.mk
b/package/iproute2/iproute2.mk
index ab374e1b55389811067e634761dd29efe88b70c7..49b1fdc6172275938fde49bdfc7b8688f4abb902 100644
(file)
--- a/
package/iproute2/iproute2.mk
+++ b/
package/iproute2/iproute2.mk
@@
-58,7
+58,7
@@
endef
define IPROUTE2_BUILD_CMDS
$(SED) 's/$$(CCOPTS)//' $(@D)/netem/Makefile
- $(TARGET_MAKE_ENV) $(MAKE) \
+ $(TARGET_MAKE_ENV)
LDFLAGS="$(TARGET_LDFLAGS)"
$(MAKE) \
DBM_INCLUDE="$(STAGING_DIR)/usr/include" \
CCOPTS="$(TARGET_CFLAGS) -D_GNU_SOURCE" \
SHARED_LIBS="$(if $(BR2_STATIC_LIBS),n,y)" -C $(@D)