summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index ca45cdc7..21d3c799 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -323,10 +323,9 @@ release:
(cd /usr/local/stow; sudo stow -D cppunit) # switch to /opt
make -j3 distcheck \
CPPFLAGS="-I/usr/local/include -I/usr/local/include/boost-1_35 -I/opt/local/include" \
- LDFLAGS="-L/usr/local/lib -L/opt/local/lib" \
+ LDFLAGS="-L/usr/local/lib -L/opt/local/lib -arch i386 -arch ppc -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk" \
ARCHFLAGS="-arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.5.sdk" \
CXXFLAGS="-arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.5.sdk" \
- LDFLAGS="$LDFLAGS -arch i386 -arch ppc -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk" \
DISTCHECK_CONFIGURE_FLAGS="--disable-dependency-tracking"
test -d /usr/local/stow/cppunit && \
(cd /usr/local/stow; sudo stow cppunit) # switch to debug