aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2016-12-11 09:42:27 +0100
committerTristan Gingold <tgingold@free.fr>2016-12-11 09:42:27 +0100
commit93a8fd07f647cea6b130dda37c9093022f000ac1 (patch)
treecba792299da280a41ea691a25a12a6a633276c46 /configure
parent51ff306adfd1728dfe371a5bb2e64051aadc3a7d (diff)
downloadghdl-93a8fd07f647cea6b130dda37c9093022f000ac1.tar.gz
ghdl-93a8fd07f647cea6b130dda37c9093022f000ac1.tar.bz2
ghdl-93a8fd07f647cea6b130dda37c9093022f000ac1.zip
Fix configure for #220
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 1f072e2f7..e07cdb798 100755
--- a/configure
+++ b/configure
@@ -197,7 +197,7 @@ esac
# Check if gcc was configured with --enable-default-pie. In that case -fPIC
# should be added.
-if gcc --version 2>&1 | grep -q enable-default-pie; then
+if gcc -v 2>&1 | grep -q enable-default-pie; then
default_pie="yes"
else
default_pie="no"