Don't hard-code -O2 or -m486. This still doesn't respect CXX, but I

couldn't figure out how to fix that.
This commit is contained in:
Kris Kennaway 2001-04-30 07:16:13 +00:00
parent 2176ed0df6
commit 1df8e52584
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42066
4 changed files with 96 additions and 0 deletions

24
net/opal/files/patch-aa Normal file
View file

@ -0,0 +1,24 @@
--- ../pwlib/make/unix.mak.orig Mon Jun 26 04:17:20 2000
+++ ../pwlib/make/unix.mak Sun Apr 29 23:25:49 2001
@@ -443,9 +443,9 @@
P_PTHREADS := 1
-ifeq ($(MACHTYPE),x86)
-STDCCFLAGS += -m486
-endif
+#ifeq ($(MACHTYPE),x86)
+#STDCCFLAGS += -m486
+#endif
ifndef OSRELEASE
OSRELEASE := $(shell sysctl -n kern.osreldate)
@@ -812,7 +812,7 @@
else
-OPTCCFLAGS += -O2 -DNDEBUG
+OPTCCFLAGS += -DNDEBUG
#OPTCCFLAGS += -DP_USE_INLINES=1
#OPTCCFLAGS += -fconserve-space
ifneq ($(OSTYPE),macos)

24
net/opal3/files/patch-aa Normal file
View file

@ -0,0 +1,24 @@
--- ../pwlib/make/unix.mak.orig Mon Jun 26 04:17:20 2000
+++ ../pwlib/make/unix.mak Sun Apr 29 23:25:49 2001
@@ -443,9 +443,9 @@
P_PTHREADS := 1
-ifeq ($(MACHTYPE),x86)
-STDCCFLAGS += -m486
-endif
+#ifeq ($(MACHTYPE),x86)
+#STDCCFLAGS += -m486
+#endif
ifndef OSRELEASE
OSRELEASE := $(shell sysctl -n kern.osreldate)
@@ -812,7 +812,7 @@
else
-OPTCCFLAGS += -O2 -DNDEBUG
+OPTCCFLAGS += -DNDEBUG
#OPTCCFLAGS += -DP_USE_INLINES=1
#OPTCCFLAGS += -fconserve-space
ifneq ($(OSTYPE),macos)

View file

@ -0,0 +1,24 @@
--- ../pwlib/make/unix.mak.orig Mon Jun 26 04:17:20 2000
+++ ../pwlib/make/unix.mak Sun Apr 29 23:25:49 2001
@@ -443,9 +443,9 @@
P_PTHREADS := 1
-ifeq ($(MACHTYPE),x86)
-STDCCFLAGS += -m486
-endif
+#ifeq ($(MACHTYPE),x86)
+#STDCCFLAGS += -m486
+#endif
ifndef OSRELEASE
OSRELEASE := $(shell sysctl -n kern.osreldate)
@@ -812,7 +812,7 @@
else
-OPTCCFLAGS += -O2 -DNDEBUG
+OPTCCFLAGS += -DNDEBUG
#OPTCCFLAGS += -DP_USE_INLINES=1
#OPTCCFLAGS += -fconserve-space
ifneq ($(OSTYPE),macos)

View file

@ -0,0 +1,24 @@
--- ../pwlib/make/unix.mak.orig Mon Jun 26 04:17:20 2000
+++ ../pwlib/make/unix.mak Sun Apr 29 23:25:49 2001
@@ -443,9 +443,9 @@
P_PTHREADS := 1
-ifeq ($(MACHTYPE),x86)
-STDCCFLAGS += -m486
-endif
+#ifeq ($(MACHTYPE),x86)
+#STDCCFLAGS += -m486
+#endif
ifndef OSRELEASE
OSRELEASE := $(shell sysctl -n kern.osreldate)
@@ -812,7 +812,7 @@
else
-OPTCCFLAGS += -O2 -DNDEBUG
+OPTCCFLAGS += -DNDEBUG
#OPTCCFLAGS += -DP_USE_INLINES=1
#OPTCCFLAGS += -fconserve-space
ifneq ($(OSTYPE),macos)