diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-07-21 12:35:55 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-07-21 12:45:02 -0400 |
commit | 4c30742c91ad6045e5f243ffabd1b7d19eca0941 (patch) | |
tree | 11dc22f89bcfc64e3ace13a9b1a21c23721743d1 /wrappers | |
parent | TODO: fix target/host CFLAGS mixing at some point (diff) | |
download | crossdev-4c30742c91ad6045e5f243ffabd1b7d19eca0941.tar.gz crossdev-4c30742c91ad6045e5f243ffabd1b7d19eca0941.tar.bz2 crossdev-4c30742c91ad6045e5f243ffabd1b7d19eca0941.zip |
config.site: do not cache values for native builds
Since configure settings can change over time, we don't want crossdev
accidentally breaking native builds when its only designed to fix up
cross builds.
URL: https://bugs.gentoo.org/427184
Reported-by: Justin Lecher <jlec@gentoo.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'wrappers')
-rwxr-xr-x | wrappers/site/config.site | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wrappers/site/config.site b/wrappers/site/config.site index 7b6fecb..68cec91 100755 --- a/wrappers/site/config.site +++ b/wrappers/site/config.site @@ -36,7 +36,8 @@ config_site_names() { done } -if [[ ${CHOST} != "" ]]; then +# Only kick in for cross-compiles so we don't break native builds #427184 +if [[ ${CBUILD:-${CHOST}} != ${CHOST} ]]; then sites="$(config_site_names)" if [[ ${sites} != "" ]]; then for site in ${sites}; do |