summaryrefslogtreecommitdiffstats
path: root/config-mingw
diff options
context:
space:
mode:
Diffstat (limited to 'config-mingw')
-rwxr-xr-xconfig-mingw2
1 files changed, 1 insertions, 1 deletions
diff --git a/config-mingw b/config-mingw
index 0d630101..4dfe2cf2 100755
--- a/config-mingw
+++ b/config-mingw
@@ -1,7 +1,7 @@
#!/bin/sh
set -e
set -x
-if echo $PATH | grep -q /mingw64; then
+if g++ -v 2>&1 | grep Target: | grep -q x86_64; then
wordsize=64
else
wordsize=32