diff options
author | Mark Ferrell <major@homeonderanged.org> | 2014-04-08 07:57:36 -0700 |
---|---|---|
committer | Mark Ferrell <major@homeonderanged.org> | 2014-04-08 07:57:36 -0700 |
commit | 7bd6ac156b4bdfb1834581adb96efe9b08dc499a (patch) | |
tree | ac7a2accc36e6b3a467dff5a8f6d22f2a19940d2 /build | |
parent | f097158d8eb5a84a7accc58a22d39ce70999f6d6 (diff) |
Stop wrapping dumpmachine
* Moved the test for gcc into dumpmachine directly, sort of curious that
dumpmachine doesn't take this sort of short-cut to begin with..
Diffstat (limited to 'build')
-rwxr-xr-x | build | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -219,14 +219,7 @@ ARCHIVE_FORMAT="${ARCHIVE_FORMAT:-tar.bz2}" export PROJECT ARCHIVE_FORMAT # If unspecified go ahead and ask gcc -# FIXME there has to be a more robust way to figure this out. -if [ -z "${CBUILD}" ]; then - if command -v gcc > /dev/null 2>&1; then - CBUILD="$(gcc -dumpmachine)" - else - CBUILD="$(build-dumpmachine)" - fi -fi +CBUILD="${CBUILD:-$(build-dumpmachine)}" export CBUILD # FIXME this stuff needs to be detected in a more reliable fashion |