Merge pull request #279 from lonkamikaze/freebsd-build

Freebsd build
This commit is contained in:
Zack Middleton 2017-03-28 06:17:33 -05:00 committed by GitHub
commit 7ca43cb0be
1 changed files with 2 additions and 2 deletions

View File

@ -654,13 +654,13 @@ else # ifdef MINGW
ifeq ($(PLATFORM),freebsd)
# flags
BASE_CFLAGS = $(shell env MACHINE_ARCH=$(ARCH) make -f /dev/null -VCFLAGS) \
BASE_CFLAGS = \
-Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
-DUSE_ICON -DMAP_ANONYMOUS=MAP_ANON
CLIENT_CFLAGS += $(SDL_CFLAGS)
HAVE_VM_COMPILED = true
OPTIMIZEVM = -O3
OPTIMIZEVM =
OPTIMIZE = $(OPTIMIZEVM) -ffast-math
SHLIBEXT=so