This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove, in the main Makefile, the $(LDLIBPTH) variable from
[perl5.git] / hints / dos_djgpp.sh
index 478c076..3ae9d22 100644 (file)
@@ -28,6 +28,9 @@ lns='cp'
 
 usenm='true'
 
+# this reportedly causes compile errors in system includes
+i_ieeefp='undef'
+
 d_link='undef'      # these are empty functions in libc.a
 d_symlink='undef'
 d_fork='undef'
@@ -38,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'
 
@@ -65,3 +71,6 @@ $define|true|[yY]*)
        ;;
 esac
 EOCBU
+
+useperlio='undef'
+uselargefiles='undef'