summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2016-04-05 18:16:15 +0200
committerFabian Groffen <grobian@gentoo.org>2016-04-05 18:16:15 +0200
commitb871c3bcbc88883b1ff252df4ddb24b196ce1e51 (patch)
tree08e6c30366565454c07b7b1a47e4061f7ab8fdac
parentconfigure_toolchain: squash annoying message from gcc wrapper (diff)
downloadprefix-b871c3bcbc88883b1ff252df4ddb24b196ce1e51.tar.gz
prefix-b871c3bcbc88883b1ff252df4ddb24b196ce1e51.tar.bz2
prefix-b871c3bcbc88883b1ff252df4ddb24b196ce1e51.zip
boostrap_stage3: set LDFLAGS to something relevant
An accidential typo (-I instead of -L) made bootstraps fail to link to libs from the target prefix iso the temp prefix, resulting in breakage when removed :(
-rwxr-xr-xscripts/bootstrap-prefix.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 84921910b4..554b007ef3 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -1234,7 +1234,7 @@ bootstrap_stage3() {
configure_toolchain || return 1
export CONFIG_SHELL="${ROOT}"/tmp/bin/bash
export CPPFLAGS="-I${ROOT}/usr/include"
- export LDFLAGS="-I${ROOT}/usr/lib"
+ export LDFLAGS="-L${ROOT}/usr/lib"
unset CC CXX
emerge_pkgs() {