summaryrefslogtreecommitdiffstats
path: root/rbutil/sansapatcher
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2008-03-25 19:50:41 +0000
committerBarry Wardell <rockbox@barrywardell.net>2008-03-25 19:50:41 +0000
commit386f77b0521433f55811f5735aa7a7df5c422760 (patch)
tree90765e8686c0d8dd34a857031a96db1180f48eee /rbutil/sansapatcher
parent76691030daa2f87c3b53d3c5b6d79d04cdac2a1b (diff)
downloadrockbox-386f77b0521433f55811f5735aa7a7df5c422760.tar.gz
rockbox-386f77b0521433f55811f5735aa7a7df5c422760.tar.bz2
rockbox-386f77b0521433f55811f5735aa7a7df5c422760.zip
Make sansapatcher and ipodpatcher compile on OS X 10.5.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16804 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/sansapatcher')
-rw-r--r--rbutil/sansapatcher/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/sansapatcher/Makefile b/rbutil/sansapatcher/Makefile
index 34e64ee823..9c5bec1bdf 100644
--- a/rbutil/sansapatcher/Makefile
+++ b/rbutil/sansapatcher/Makefile
@@ -35,11 +35,11 @@ sansapatcher-mac: sansapatcher-i386 sansapatcher-ppc
lipo -create sansapatcher-ppc sansapatcher-i386 -output sansapatcher-mac
sansapatcher-i386: main.c sansapatcher.c sansaio-posix.c parttypes.h bootimg_c200.c bootimg_e200.c
- gcc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o bin/i386/program -arch i386 $(CFLAGS) -o sansapatcher-i386 main.c sansapatcher.c sansaio-posix.c bootimg_c200.c bootimg_e200.c
+ gcc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -arch i386 $(CFLAGS) -o sansapatcher-i386 main.c sansapatcher.c sansaio-posix.c bootimg_c200.c bootimg_e200.c
strip sansapatcher-i386
sansapatcher-ppc: main.c sansapatcher.c sansaio-posix.c parttypes.h bootimg_c200.c bootimg_e200.c
- gcc -arch ppc $(CFLAGS) -o sansapatcher-ppc main.c sansapatcher.c sansaio-posix.c bootimg_c200.c bootimg_e200.c
+ gcc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -arch ppc $(CFLAGS) -o sansapatcher-ppc main.c sansapatcher.c sansaio-posix.c bootimg_c200.c bootimg_e200.c
strip sansapatcher-ppc
bin2c: bin2c.c