X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=util%2Fpl%2FMingw32.pl;h=585cacd82035f38954686303eafacbd689984bed;hb=b838465135831bb1a23c10a59c89c21948da48df;hp=f99b015aba5cfb4a2bf4cc20e588ba884e0d354f;hpb=12d7d32f24a3fb1ea804cfeebdbbcb91308150bd;p=oweals%2Fopenssl.git diff --git a/util/pl/Mingw32.pl b/util/pl/Mingw32.pl index f99b015aba..585cacd820 100644 --- a/util/pl/Mingw32.pl +++ b/util/pl/Mingw32.pl @@ -1,12 +1,11 @@ #!/usr/local/bin/perl # -# unix.pl - the standard unix makefile stuff. +# Mingw32.pl -- Mingw32 with GNU cp (Mingw32f.pl uses DOS tools) # -# Need the Cygwin32 file utilities $o='/'; $cp='cp'; -$rm='rm'; +$rm='rem'; # use 'rm -f' if using GNU file utilities $mkdir='gmkdir'; # gcc wouldn't accept backslashes in paths @@ -18,10 +17,9 @@ $mkdir='gmkdir'; $cc='gcc'; if ($debug) - { $cflags="-g2 -ggdb"; } + { $cflags="-DL_ENDIAN -g2 -ggdb"; } else - { $cflags="-O3 -fomit-frame-pointer"; } -$dcflags='n'; # Make can't handle -DCFLAGS definition + { $cflags="-DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall"; } $obj='.o'; $ofile='-o ';