This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
It would seem that both ar and full_ar need to be overridden
[perl5.git] / hints / dos_djgpp.sh
index d50bca4..ebbd786 100644 (file)
@@ -41,10 +41,13 @@ startperl='#!perl'
 case "X$optimize" in
   X)
        optimize="-O2 -malign-loops=2 -malign-jumps=2 -malign-functions=2"
+       ldflags='-s'
+       ;;
+  X*)
+       ldflags=' '
        ;;
 esac
 ccflags="$ccflags -DPERL_EXTERNAL_GLOB"
-ldflags='-s'
 usemymalloc='n'
 timetype='time_t'