Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Revert "clang cannot handle flto=jobserver, so I moved this optimizat…
…ion flag to the linux-specific OS settings"

This reverts commit 5d3bc01.
  • Loading branch information
krnlyng committed Apr 27, 2015
1 parent 452d3ce commit 7013f4d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions projects/unix/Makefile
Expand Up @@ -122,7 +122,7 @@ ifeq ("$(CPU)","NONE")
endif

# base CFLAGS, LDLIBS, and LDFLAGS
OPTFLAGS ?= -O3
OPTFLAGS ?= -O3 -flto=jobserver
WARNFLAGS ?= -Wall -Wno-unused-function
CFLAGS += $(OPTFLAGS) $(WARNFLAGS) -ffast-math -fno-strict-aliasing -fvisibility=hidden -I../../src -I../../src/Glitch64/inc -DGCC
CXXFLAGS += -fvisibility-inlines-hidden -std=gnu++0x
Expand Down Expand Up @@ -156,7 +156,6 @@ endif

# set special flags per-system
ifeq ($(OS), LINUX)
OPTFLAGS += -flto=jobserver
# only export api symbols
LDFLAGS += -Wl,-version-script,$(SRCDIR)/video_api_export.ver
LDLIBS += -ldl
Expand Down

0 comments on commit 7013f4d

Please sign in to comment.