summaryrefslogtreecommitdiff
path: root/package/openssl/patches/120-makedepend.patch
blob: 95600ff8e828369b415f4e69b31cb096ad56e5e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/util/domd
+++ b/util/domd
@@ -22,7 +23,7 @@ if [ "$MAKEDEPEND" = "gcc" ]; then
     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