aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"