From cc7cff96864413359b328308245c5320fb87900f Mon Sep 17 00:00:00 2001 From: Steel Titanium Date: Thu, 27 Dec 2018 18:54:10 -0500 Subject: [PATCH] More explict check --- src/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Makefile b/src/Makefile index 151026d8..c0a4cc3a 100644 --- a/src/Makefile +++ b/src/Makefile @@ -107,6 +107,7 @@ endif ifdef LINUX64 LINUX=1 NONX86=1 +64BIT=1 endif ifdef HAIKU @@ -181,6 +182,7 @@ endif #ifdef MINGW ifdef MINGW64 MINGW=1 +64BIT=1 include win32/Makefile.cfg endif #ifdef MINGW64 @@ -292,14 +294,13 @@ OPTS += -DCOMPVERSION ifndef NONX86 ifndef GCC29 M5=-march=pentium - M4=-march=i486 else M5=-mpentium - M4=-m486 endif -else +endif + +ifdef 64BIT M5=-march=nocona - M4=-mnocona endif ifndef NOASM