Skip to content

Commit

Permalink
allow to override OSX compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
x42 committed Oct 18, 2015
1 parent 4960350 commit bf25db8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common.mak
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ OPTIMIZATIONS ?= -msse -msse2 -mfpmath=sse -ffast-math -fomit-frame-pointer -O3
ENABLE_CONVOLUTION ?= no
FONTFILE?=/usr/share/fonts/truetype/ttf-bitstream-vera/VeraBd.ttf
VERSION?=$(shell git describe --tags HEAD 2>/dev/null | sed 's/-g.*$$//;s/^v//' || true)
OSXCOMPAT?=-mmacosx-version-min=10.5
ifeq ($(VERSION),)
VERSION=$(EXPORTED_VERSION)
endif
Expand Down Expand Up @@ -133,7 +134,7 @@ ifeq ($(LV2AVAIL)$(HAVE_UI)$(HAVE_IDLE), yesyesyes)
UILIBS=../pugl/pugl_osx.m -framework Cocoa -framework OpenGL
UILIBS+=`pkg-config --variable=libdir ftgl`/libftgl.a `pkg-config --variable=libdir ftgl`/libfreetype.a
UILIBS+=`pkg-config --libs zlib`
UILIBS+=-lm -mmacosx-version-min=10.5
UILIBS+=-lm $(OSXCOMPAT)
else
ifeq ($(IS_WIN), yes)
UIDEPS+=../pugl/pugl_win.cpp
Expand Down

0 comments on commit bf25db8

Please sign in to comment.