diff options
author | Fabian Groffen <grobian@gentoo.org> | 2016-04-05 18:16:15 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2016-04-05 18:16:15 +0200 |
commit | b871c3bcbc88883b1ff252df4ddb24b196ce1e51 (patch) | |
tree | 08e6c30366565454c07b7b1a47e4061f7ab8fdac | |
parent | configure_toolchain: squash annoying message from gcc wrapper (diff) | |
download | prefix-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-x | scripts/bootstrap-prefix.sh | 2 |
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() { |