summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-11-29 19:31:18 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-11-29 19:31:18 +0000
commite02fdbd207cb59e2bc293aefa8d5320e52579e74 (patch)
treea0704986e1590afa77296ab378129e06a25eb9ac /win32
parenta8deba26610ac9d6097c62e020502f4cc7ee6576 (diff)
downloadperl-e02fdbd207cb59e2bc293aefa8d5320e52579e74.tar.gz
notes about -DPERL_POLLUTE
p4raw-id: //depot/perl@2392
Diffstat (limited to 'win32')
-rw-r--r--win32/Makefile14
-rw-r--r--win32/makefile.mk14
2 files changed, 22 insertions, 6 deletions
diff --git a/win32/Makefile b/win32/Makefile
index 231f6dc0c4..40df75acb4 100644
--- a/win32/Makefile
+++ b/win32/Makefile
@@ -124,6 +124,17 @@ CCINCDIR = $(CCHOME)\include
CCLIBDIR = $(CCHOME)\lib
#
+# additional compiler flags can be specified here.
+#
+# Adding -DPERL_POLLUTE enables support for old symbols, at the expense of
+# extreme pollution. You most probably want this if you're compiling modules
+# from CPAN, or other such serious uses of this experimental perl release.
+# We don't enable this by default because we want the modules to get fixed
+# instead of clinging to shortcuts like this one.
+#
+#BUILDOPT = -DPERL_POLLUTE
+
+#
# specify space-separated list of extra directories to look for libraries
#
EXTRALIBDIRS =
@@ -165,9 +176,6 @@ USE_THREADS = undef
USE_MULTI = undef
!ENDIF
-#BUILDOPT = -DPERL_GLOBAL_STRUCT
-# -DUSE_PERLIO -D__STDC__=1 -DUSE_SFIO -DI_SFIO -I\sfio97\include
-
!IF "$(PROCESSOR_ARCHITECTURE)" == ""
PROCESSOR_ARCHITECTURE = x86
!ENDIF
diff --git a/win32/makefile.mk b/win32/makefile.mk
index 8df1abb972..3eedf1edb2 100644
--- a/win32/makefile.mk
+++ b/win32/makefile.mk
@@ -136,6 +136,17 @@ CCINCDIR *= $(CCHOME)\include
CCLIBDIR *= $(CCHOME)\lib
#
+# additional compiler flags can be specified here.
+#
+# Adding -DPERL_POLLUTE enables support for old symbols, at the expense of
+# extreme pollution. You most probably want this if you're compiling modules
+# from CPAN, or other such serious uses of this experimental perl release.
+# We don't enable this by default because we want the modules to get fixed
+# instead of clinging to shortcuts like this one.
+#
+#BUILDOPT *= -DPERL_POLLUTE
+
+#
# specify space-separated list of extra directories to look for libraries
#
EXTRALIBDIRS *=
@@ -176,9 +187,6 @@ PERL_MALLOC *= undef
USE_THREADS *= undef
USE_MULTI *= undef
-#BUILDOPT *= -DPERL_GLOBAL_STRUCT
-# -DUSE_PERLIO -D__STDC__=1 -DUSE_SFIO -DI_SFIO -I\sfio97\include
-
.IMPORT .IGNORE : PROCESSOR_ARCHITECTURE
PROCESSOR_ARCHITECTURE *= x86