aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 715027445..0daae1a05 100755
--- a/configure
+++ b/configure
@@ -204,7 +204,7 @@ if ! $GNATMAKE --version >/dev/null 2>&1; then
fi
# Check that compiler exists
-if ! $CC -v 2> /dev/null; then
+if ! $CC --version 2> /dev/null; then
echo "Sorry, you need a C compiler to build GHDL. See the README"
exit 1
fi