summaryrefslogtreecommitdiffstats
path: root/scripts/gcc-goto.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gcc-goto.sh')
-rwxr-xr-xscripts/gcc-goto.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gcc-goto.sh b/scripts/gcc-goto.sh
index 083c526073ef..8b980fb2270a 100755
--- a/scripts/gcc-goto.sh
+++ b/scripts/gcc-goto.sh
@@ -3,7 +3,7 @@
# Test for gcc 'asm goto' support
# Copyright (C) 2010, Jason Baron <jbaron@redhat.com>
-cat << "END" | $@ -x c - -c -o /dev/null >/dev/null 2>&1 && echo "y"
+cat << "END" | $@ -x c - -fno-PIE -c -o /dev/null
int main(void)
{
#if defined(__arm__) || defined(__aarch64__)
OpenPOWER on IntegriCloud