diff options
author | 2014-12-23 16:18:20 +0100 | |
---|---|---|
committer | 2014-12-23 16:18:20 +0100 | |
commit | 6239845086628344405869d9b018706c6e7ec53e (patch) | |
tree | 790d1fa64a502467e9bdd2cdbfb7f322f1a21a58 | |
parent | 30a9eeee375c8dbd77f569ba45157fbfde9ccfe1 (diff) |
Better x64 detection for windows
-rw-r--r-- | makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -139,8 +139,9 @@ ifeq ($(TARGETOS),win32) # Autodetect PTR64 ifndef PTR64 -ifneq (,$(findstring mingw64-w64,$(PATH))) -PTR64=1 +WIN_TEST_GCC := $(shell gcc --version) +ifeq ($(findstring x86_64,$(WIN_TEST_GCC)),x86_64) + PTR64=1 endif endif |