# HG changeset patch # User Chris Cannam # Date 1342101564 -3600 # Node ID 32e1b0d944fc1ec942e08bc01205d871cedba170 # Parent f67cf32a934b1bdc4a39601999288ebce7682b27 OS/X build fixes diff -r f67cf32a934b -r 32e1b0d944fc build/Makefile.osx --- a/build/Makefile.osx Thu Jul 12 14:57:44 2012 +0100 +++ b/build/Makefile.osx Thu Jul 12 14:59:24 2012 +0100 @@ -69,7 +69,8 @@ # Compile flags # -CXXFLAGS = $(ARCHFLAGS) -O2 -Wall -I../10.6/inst/include -I. -fPIC +CFLAGS = $(ARCHFLAGS) -fPIC +CXXFLAGS = $(ARCHFLAGS) -O2 -Wall -I. -I../10.6/inst/include -fPIC # Link flags common to all link targets # diff -r f67cf32a934b -r 32e1b0d944fc build/Makefile.osx.106 --- a/build/Makefile.osx.106 Thu Jul 12 14:57:44 2012 +0100 +++ b/build/Makefile.osx.106 Thu Jul 12 14:59:24 2012 +0100 @@ -90,6 +90,7 @@ # Compile flags # +CFLAGS = $(ARCHFLAGS) -fPIC CXXFLAGS = $(ARCHFLAGS) -O2 -Wall -I. -fPIC # Link flags common to all link targets