summaryrefslogtreecommitdiffstats
path: root/package/openssl/patches/120-makedepend.patch
blob: 4ed6f6d229a9dc5c6a6196c65e2527e1ca4aeac5 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/util/domd
+++ b/util/domd
@@ -22,7 +22,7 @@ if expr "$MAKEDEPEND" : '.*gcc$' > /dev/
     done
     sed -e '/^# DO NOT DELETE.*/,$d' < Makefile > Makefile.tmp
     echo '# DO NOT DELETE THIS LINE -- make depend depends on it.' >> Makefile.tmp
-    ${CC:-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