Merge pull request #24 from OpenArena/cross-compile-fix

The engine is now compileable with a MXE environment.
This commit is contained in:
Poul Sander
2016-07-09 11:44:22 +02:00
committed by GitHub
2 changed files with 6 additions and 2 deletions

View File

@@ -2648,7 +2648,7 @@ $(B)/client/%.o: $(ASMDIR)/%.s
# k8 so inline assembler knows about SSE
$(B)/client/%.o: $(ASMDIR)/%.c
$(DO_CC) -march=k8
$(DO_CC) -march=k8 -mmmx -msse2
$(B)/client/%.o: $(CDIR)/%.c
$(DO_CC)
@@ -2753,7 +2753,7 @@ $(B)/ded/%.o: $(ASMDIR)/%.s
# k8 so inline assembler knows about SSE
$(B)/ded/%.o: $(ASMDIR)/%.c
$(DO_CC) -march=k8
$(DO_CC) -march=k8 -mmmx -msse2
$(B)/ded/%.o: $(SDIR)/%.c
$(DO_DED_CC)

View File

@@ -20,14 +20,18 @@ VERSION=3.0.0a
USE_CODEC_VORBIS=1
USE_CODEC_OPUS=0
ifndef USE_CODEC_XMP
USE_CODEC_XMP=1
endif
# FLTO Test
OPTIMIZE += -flto
# Can't use CURL on my system atm
ifndef USE_CURL
USE_CURL=0
endif
# This doesn't work with OpenArena yet
BUILD_RENDERER_OPENGL2=0