Fix Synthesis (at least partially).

git-svn-id: https://svn.eduke32.com/eduke32@4552 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2014-07-23 06:04:44 +00:00
parent 3403670ada
commit 1e7002b280
1 changed files with 12 additions and 10 deletions

View File

@ -296,9 +296,21 @@ ifeq ($(PLATFORM),WINDOWS)
ifeq ($(findstring x86_64,$(COMPILERTARGET)),x86_64)
SYSARCH:=x86_64
SYSBITS=64
endif
WINLIB?=/$(SYSBITS)
else
ifneq (1,$(BUILD32_ON_64))
ifeq ($(findstring x86_64,$(ARCH)),x86_64)
SYSBITS=64
endif
ifeq ($(ARCH),)
ifeq ($(findstring x86_64,$(SYSARCH)),x86_64)
SYSBITS=64
endif
endif
endif
endif
ifeq ($(PLATFORM),DARWIN)
@ -329,16 +341,6 @@ ifeq ($(PLATFORM),DARWIN)
endif
ifneq (1,$(BUILD32_ON_64))
ifeq ($(findstring x86_64,$(ARCH)),x86_64)
SYSBITS=64
endif
ifeq ($(findstring x86_64,$(SYSARCH)),x86_64)
SYSBITS=64
endif
endif
ifndef OPTOPT
ifeq ($(PLATFORM), WII)
OPTOPT=