diff options
Diffstat (limited to 'util/crossgcc/buildgcc')
-rwxr-xr-x | util/crossgcc/buildgcc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index 273f921a15..0dfca26e04 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -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 |