Skip to content

Commit

Permalink
Small tweaks to FreeBSD build (#74)
Browse files Browse the repository at this point in the history
* Do not pull CFLAGS into BASE_CFLAGS on FreeBSD

* Use -On level from CFLAGS on FreeBSD
  • Loading branch information
lonkamikaze authored and Barbatos committed Apr 2, 2017
1 parent 11c7c93 commit fcc59b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -542,15 +542,15 @@ ifeq ($(PLATFORM),freebsd)
endif

# flags
BASE_CFLAGS = $(shell env MACHINE_ARCH=$(ARCH) make -f /dev/null -VCFLAGS) \
BASE_CFLAGS = \
-Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
-DHOMEPATH=\\\"$(HOMEPATH)\\\" \
-DDEFAULT_LIBDIR=\\\"$(DEFAULT_LIBDIR)\\\" \
-DUSE_ICON -DMAP_ANONYMOUS=MAP_ANON
CLIENT_CFLAGS += $(SDL_CFLAGS)
HAVE_VM_COMPILED = true

OPTIMIZEVM = -O3 -funroll-loops -fomit-frame-pointer
OPTIMIZEVM =
OPTIMIZE = $(OPTIMIZEVM) -ffast-math

SHLIBEXT=so
Expand Down

0 comments on commit fcc59b4

Please sign in to comment.