Mercurial > hg > vamp-plugin-sdk
diff build/Makefile.osx @ 371:490e5d01766c
Some os/x build fixes
author | Chris Cannam |
---|---|
date | Tue, 05 Aug 2014 12:55:55 +0100 |
parents | 32e1b0d944fc |
children | 3cd80757becf f4e07ae2725a |
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 #