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
1 changed files with 2 additions and 5 deletions

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