diff options
author | Leif Lindholm <leif.lindholm@linaro.org> | 2016-08-19 10:12:52 +0100 |
---|---|---|
committer | Leif Lindholm <leif.lindholm@linaro.org> | 2016-08-19 10:12:52 +0100 |
commit | 4ad46ab76ee2d593c665c1f6ae16162bdf5a36ac (patch) | |
tree | 93028e3db3f07d0e4d0fff64c1c3d9b8bcce0b74 | |
parent | 9bbc568ec5888dec796b1794ef3f561e73cef81d (diff) |
common-functions: cap gcc build profile at GCC5
edk2 does not have GCC build profiles above GCC5 at this point,
so cap at that if > 4.X in order to work for gcc 6. (doh!)
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
-rw-r--r-- | common-functions | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common-functions b/common-functions index 1d56dd4..ea5a24f 100644 --- a/common-functions +++ b/common-functions @@ -75,7 +75,9 @@ function get_gcc_version ;; *) if [ "$MAJVER" -ge 5 ]; then - echo GCC$MAJVER + # We only have a GCC5 build profile for now, so... + # echo GCC$MAJVER + echo GCC5 else echo "Unknown toolchain version '$gcc_version'" >&2 echo "Attempting to build using GCC49 profile." >&2 |