changeset 342:32e1b0d944fc

OS/X build fixes
author Chris Cannam
date Thu, 12 Jul 2012 14:59:24 +0100
parents f67cf32a934b
children 393885d7ea72
files build/Makefile.osx build/Makefile.osx.106
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
 #
--- 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