Mercurial > hg > vamp-plugin-sdk
comparison build/Makefile.osx @ 387:3cd80757becf
Start using libc++ by default
author | Chris Cannam |
---|---|
date | Wed, 11 Mar 2015 13:29:17 +0000 |
parents | 490e5d01766c |
children | 96cdf661d538 |
comparison
equal
deleted
inserted
replaced
386:e0697515163f | 387:3cd80757becf |
---|---|
58 # | 58 # |
59 default: all | 59 default: all |
60 | 60 |
61 # Minimum version of OS/X to target. This will determine the | 61 # Minimum version of OS/X to target. This will determine the |
62 # compiler's choice of platform SDK material | 62 # compiler's choice of platform SDK material |
63 MINVERSION := 10.6 | 63 MINVERSION := 10.7 |
64 | 64 |
65 # Our default is to try to build for all architectures supported by | 65 # Our default is to try to build for all architectures supported by |
66 # the MINVERSION in a universal binary. | 66 # the MINVERSION in a universal binary. |
67 # | 67 # |
68 ARCHFLAGS ?= -mmacosx-version-min=$(MINVERSION) -arch x86_64 -arch i386 | 68 ARCHFLAGS ?= -mmacosx-version-min=$(MINVERSION) -arch x86_64 -arch i386 -stdlib=libc++ |
69 | 69 |
70 # Compile flags | 70 # Compile flags |
71 # | 71 # |
72 CFLAGS += $(ARCHFLAGS) -fPIC | 72 CFLAGS += $(ARCHFLAGS) -fPIC |
73 CXXFLAGS += $(ARCHFLAGS) -O2 -Wall -I. -fPIC | 73 CXXFLAGS += $(ARCHFLAGS) -O2 -Wall -I. -fPIC |