mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: buildgcc: Remove quotes around a $CC call
If we use ccache we have to interpret spaces in $CC as separation characters. The downside is that we can't support spaces in the compiler's path. But, well... BUG=None BRANCH=None TEST=None Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/18018 Reviewed-by: Martin Roth <martinroth@google.com> Tested-by: build bot (Jenkins) Change-Id: I4e6e6324389354669a755f570083a40ff00b1bbf Reviewed-on: https://chromium-review.googlesource.com/425294 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
602985ee3d
commit
f69d14a570
1 changed files with 1 additions and 1 deletions
|
@ -517,7 +517,7 @@ set_hostcflags_from_gmp() {
|
|||
build_GMP() {
|
||||
# Check if GCC enables `-pie` by default (possible since GCC 6).
|
||||
# We need PIC in all static libraries then.
|
||||
if "${CC}" -dumpspecs 2>/dev/null | grep -q '[{;][[:space:]]*:-pie\>'
|
||||
if $CC -dumpspecs 2>/dev/null | grep -q '[{;][[:space:]]*:-pie\>'
|
||||
then
|
||||
OPTIONS="$OPTIONS --with-pic"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue