diff --git a/dlls/fun/Makefile.pl b/dlls/fun/Makefile.pl index a00c7ecb..285e575f 100755 --- a/dlls/fun/Makefile.pl +++ b/dlls/fun/Makefile.pl @@ -45,7 +45,7 @@ while ($cmd = shift) } } -$gcc = `g++ --version`; +$gcc = `gcc --version`; if ($gcc =~ /2\.9/) { $OPT{"opt"} .= " -malign-loops=2 -malign-jumps=2 -malign-functions=2"; @@ -134,7 +134,7 @@ for ($i=0; $i<=$#CPP_SOURCE_FILES; $i++) $ofile = $file; $ofile =~ s/\.cpp/\.o/; $ofile = "$outdir/$ofile"; - $gcc = "g++ $cflags -Dstrcmpi=strcasecmp -fPIC $inc -c $file -o $ofile"; + $gcc = "gcc $cflags -Dstrcmpi=strcasecmp -fPIC $inc -c $file -o $ofile"; if (-e $ofile) { $file_time = (stat($file))[9]; @@ -172,6 +172,6 @@ for ($i=0; $i<=$#CPP_SOURCE_FILES; $i++) } } -$gcc = "g++ $cflags -shared -ldl -lm @LINK -o $outdir/$bin"; +$gcc = "gcc $cflags -shared -ldl -lm @LINK -o $outdir/$bin"; print "$gcc\n"; `$gcc`;