Simplify MXE fixes

This commit is contained in:
Colton G. Rushton 2020-05-16 13:01:23 -03:00 committed by GitHub
parent e569a596e8
commit 60a8e2b2ab
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
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
else
CPP := $(CROSS)cpp -P
OBJCOPY := $(CROSS)objcopy
endif
OBJDUMP := $(CROSS)objdump
PYTHON := python3
SDLCONFIG := $(CROSS)sdl2-config