summaryrefslogtreecommitdiffstats
path: root/package/Makefile.in
diff options
context:
space:
mode:
authorArnout Vandecappelle <arnout@mind.be>2017-07-04 16:03:56 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-05 11:46:26 +0200
commitac4f527d7353fc4f362f029b92d7c90c31be0966 (patch)
tree99fd685ff3ec9ab96719af35a8654436be0ba891 /package/Makefile.in
parent4c8872d8e71a99a1eee448d57d25403dbab9dafc (diff)
downloadbuildroot-ac4f527d7353fc4f362f029b92d7c90c31be0966.tar.gz
buildroot-ac4f527d7353fc4f362f029b92d7c90c31be0966.zip
package/Makefile.in: remove $(HOST_DIR)/usr part from HOST_LDFLAGS
Now $(HOST_DIR)/lib and $(HOST_DIR)/usr/lib are the same directory, it doesn't make sense to pass both to LDFLAGS. Also use $(HOST_DIR)/lib instead of $(HOST_DIR)/usr/lib for the RPATH. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: Romain Naour <romain.naour@smile.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/Makefile.in')
-rw-r--r--package/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/Makefile.in b/package/Makefile.in
index 291108c144..87c831650d 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -220,7 +220,7 @@ HOST_CPPFLAGS = -I$(HOST_DIR)/usr/include
HOST_CFLAGS ?= -O2
HOST_CFLAGS += $(HOST_CPPFLAGS)
HOST_CXXFLAGS += $(HOST_CFLAGS)
-HOST_LDFLAGS += -L$(HOST_DIR)/lib -L$(HOST_DIR)/usr/lib -Wl,-rpath,$(HOST_DIR)/usr/lib
+HOST_LDFLAGS += -L$(HOST_DIR)/lib -Wl,-rpath,$(HOST_DIR)/lib
# host-intltool should be executed with the system perl, so we save
# the path to the system perl, before a host-perl built by Buildroot
OpenPOWER on IntegriCloud