diff options
author | Nicolas Thill <nico@openwrt.org> | 2005-06-01 23:29:37 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2005-06-01 23:29:37 +0000 |
commit | 51ceb59de243e40bc0be55e7c1c11a7c20878cfc (patch) | |
tree | 60af8b8b5d62a47fb86a78a067932b5577af6900 /package/openssl/patches/120-makedepend.patch | |
parent | f7c6dc6afdcec5daca47997baf90acee96feb817 (diff) | |
download | upstream-51ceb59de243e40bc0be55e7c1c11a7c20878cfc.tar.gz upstream-51ceb59de243e40bc0be55e7c1c11a7c20878cfc.tar.bz2 upstream-51ceb59de243e40bc0be55e7c1c11a7c20878cfc.zip |
Split patches.
Use full target optimization flags (save a few KB).
Do a make depend before building.
Remove unneeded targets from main Makefile.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1136 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/openssl/patches/120-makedepend.patch')
-rw-r--r-- | package/openssl/patches/120-makedepend.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/package/openssl/patches/120-makedepend.patch b/package/openssl/patches/120-makedepend.patch new file mode 100644 index 0000000000..5501f85f1f --- /dev/null +++ b/package/openssl/patches/120-makedepend.patch @@ -0,0 +1,22 @@ +diff -ruN openssl-0.9.7g-old/util/domd openssl-0.9.7g-new/util/domd +--- openssl-0.9.7g-old/util/domd 2004-05-11 14:46:18.000000000 +0200 ++++ openssl-0.9.7g-new/util/domd 2005-05-30 20:20:04.000000000 +0200 +@@ -14,7 +14,8 @@ + cp Makefile Makefile.save + # fake the presence of Kerberos + touch $TOP/krb5.h +-if [ "$MAKEDEPEND" = "gcc" ]; then ++D=${MAKEDEPEND/%*gcc/gcc} ++if [ "$D" = "gcc" ]; then + args="" + while [ $# -gt 0 ]; do + if [ "$1" != "--" ]; then args="$args $1"; fi +@@ -22,7 +23,7 @@ + done + sed -e '/^# DO NOT DELETE.*/,$d' < Makefile > Makefile.tmp + echo '# DO NOT DELETE THIS LINE -- make depend depends on it.' >> Makefile.tmp +- gcc -D OPENSSL_DOING_MAKEDEPEND -M $args >> Makefile.tmp ++ ${MAKEDEPEND} -D OPENSSL_DOING_MAKEDEPEND -M $args >> Makefile.tmp + ${PERL} $TOP/util/clean-depend.pl < Makefile.tmp > Makefile.new + rm -f Makefile.tmp + else |