comparison build/Makefile.osx @ 406:b7268e8bd292

Build tweaks for OS/X
author Chris Cannam
date Tue, 16 Jun 2015 13:37:18 +0100
parents 86b9f817223a
children 8c45dee08a95
comparison
equal deleted inserted replaced
405:67704de2bb54 406:b7268e8bd292
63 MINVERSION := 10.7 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 -stdlib=libc++ 68 ARCHFLAGS ?= -mmacosx-version-min=$(MINVERSION) -arch x86_64 -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