Skip to content

Commit

Permalink
Updated OSX conditional in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
mm-tomd authored Apr 27, 2017
1 parent c2f943a commit 4ca107b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ else

endif
ifeq ($(UNAME_S),Darwin)
THIS_OS = OSX
OSX_VERSION_MIN = $(shell sw_vers -productVersion ) | awk -F '.' '{print $$1 "." $$2}'
CFLAGS="-arch x86_64 -mmacosx-version-min=${OSX_VERSION_MIN} -O2 -g -flto"
LDFLAGS="-arch x86_64 -mmacosx-version-min=${OSX_VERSION_MIN} -flto"
THIS_OS = OSX
OSX_VERSION_MIN = $(shell sw_vers -productVersion | awk -F '.' '{print $$1 "." $$2}')
CFLAGS = -arch x86_64 -mmacosx-version-min=${OSX_VERSION_MIN} -O2 -g -flto
LDFLAGS = -arch x86_64 -mmacosx-version-min=${OSX_VERSION_MIN} -flto
endif
UNAME_P := $(shell uname -p)
ifeq ($(UNAME_P),x86_64)
Expand Down

0 comments on commit 4ca107b

Please sign in to comment.