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

View file

@ -296,9 +296,21 @@ ifeq ($(PLATFORM),WINDOWS)
ifeq ($(findstring x86_64,$(COMPILERTARGET)),x86_64) ifeq ($(findstring x86_64,$(COMPILERTARGET)),x86_64)
SYSARCH:=x86_64 SYSARCH:=x86_64
SYSBITS=64
endif endif
WINLIB?=/$(SYSBITS) 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 endif
ifeq ($(PLATFORM),DARWIN) ifeq ($(PLATFORM),DARWIN)
@ -329,16 +341,6 @@ ifeq ($(PLATFORM),DARWIN)
endif 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 ifndef OPTOPT
ifeq ($(PLATFORM), WII) ifeq ($(PLATFORM), WII)
OPTOPT= OPTOPT=