From a34922c47639a201dfa759faff51a4a6be59408a Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 21 Jan 2009 21:44:52 +0000 Subject: [PATCH] PR: 1806 Submitted by: philipp_subx@redfish-solutions.com Approved by: steve Use ${CC:-gcc} instead of just gcc in domd, to support cross compilation. --- util/domd | 2 +- util/pl/VC-32.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/util/domd b/util/domd index 691be7a440..560ebeaf82 100755 --- a/util/domd +++ b/util/domd @@ -22,7 +22,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 - gcc -D OPENSSL_DOING_MAKEDEPEND -M $args >> Makefile.tmp + ${CC:-gcc} -D OPENSSL_DOING_MAKEDEPEND -M $args >> Makefile.tmp ${PERL} $TOP/util/clean-depend.pl < Makefile.tmp > Makefile.new rm -f Makefile.tmp else diff --git a/util/pl/VC-32.pl b/util/pl/VC-32.pl index 730c2083bd..f5d0a04cfe 100644 --- a/util/pl/VC-32.pl +++ b/util/pl/VC-32.pl @@ -405,7 +405,7 @@ sub do_link_rule if ($standalone == 1) { $ret.=" \$(LINK) \$(LFLAGS) $efile$target @<<\n\t"; - $ret.= "$mwex advapi32.lib " if ($files =~ /O_FIPSCANISTER/ && !$fipscanisterbuild); + $ret.= "\$(EX_LIBS) " if ($files =~ /O_FIPSCANISTER/ && !$fipscanisterbuild); $ret.="$files $libs\n<<\n"; } elsif ($standalone == 2) -- 2.25.1