This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
rename s/\bSI_/PERLSI_/ to avoid collisions with sysinfo headers
[perl5.git] / cflags.SH
index 88aa4e0..8a1ba82 100755 (executable)
--- a/cflags.SH
+++ b/cflags.SH
@@ -88,6 +88,7 @@ for file do
     POSIX) ;;
     SDBM_File) ;;
     av) ;;
+    byterun) ;;
     deb) ;;
     dl) ;;
     doio) ;;
@@ -123,8 +124,9 @@ for file do
                optimize="$optdebug"
        fi
 
-    echo "$cc -c $ccflags $optimize $perltype $large $split"
-    eval "$also "'"$cc -c $ccflags $optimize $perltype $large $split"'
+    : Can we perhaps use $ansi2knr here
+    echo "$cc -c -DPERL_CORE $ccflags $optimize $perltype $large $split"
+    eval "$also "'"$cc -DPERL_CORE -c $ccflags $optimize $perltype $large $split"'
 
     . $TOP/config.sh