Mercurial > hg > vamp-plugin-sdk
changeset 371:490e5d01766c
Some os/x build fixes
author | Chris Cannam |
---|---|
date | Tue, 05 Aug 2014 12:55:55 +0100 |
parents | cb6c59627bcc |
children | 12ee4e664b35 2056dfdd42c6 |
files | build/Makefile.osx |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/build/Makefile.osx Tue Aug 05 11:09:58 2014 +0100 +++ b/build/Makefile.osx Tue Aug 05 12:55:55 2014 +0100 @@ -65,16 +65,16 @@ # Our default is to try to build for all architectures supported by # the MINVERSION in a universal binary. # -ARCHFLAGS = -mmacosx-version-min=$(MINVERSION) -arch x86_64 -arch i386 +ARCHFLAGS ?= -mmacosx-version-min=$(MINVERSION) -arch x86_64 -arch i386 # Compile flags # -CFLAGS = $(ARCHFLAGS) -fPIC -CXXFLAGS = $(ARCHFLAGS) -O2 -Wall -I. -I../10.6/inst/include -fPIC +CFLAGS += $(ARCHFLAGS) -fPIC +CXXFLAGS += $(ARCHFLAGS) -O2 -Wall -I. -fPIC # Link flags common to all link targets # -LDFLAGS = $(ARCHFLAGS) +LDFLAGS += $(ARCHFLAGS) # ar, ranlib #