Simplify MXE fixes

This commit is contained in:
Colton G. Rushton 2020-05-16 13:01:23 -03:00 committed by GitHub
parent 17695a7b4f
commit 74058cf32f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -430,15 +430,12 @@ endif
ifeq ($(WINDOWS_BUILD),1) # fixes compilation in MXE on Linux and WSL ifeq ($(WINDOWS_BUILD),1) # fixes compilation in MXE on Linux and WSL
CPP := cpp -P CPP := cpp -P
else
CPP := $(CROSS)cpp -P
endif
OBJDUMP := $(CROSS)objdump
ifeq ($(WINDOWS_BUILD),1) # fixes compilation in MXE on Linux and WSL
OBJCOPY := objcopy OBJCOPY := objcopy
else else
CPP := $(CROSS)cpp -P
OBJCOPY := $(CROSS)objcopy OBJCOPY := $(CROSS)objcopy
endif endif
OBJDUMP := $(CROSS)objdump
PYTHON := python3 PYTHON := python3
SDLCONFIG := $(CROSS)sdl2-config SDLCONFIG := $(CROSS)sdl2-config