summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2001-04-30 07:16:13 +0000
committerkris <kris@FreeBSD.org>2001-04-30 07:16:13 +0000
commit283e0a01938e8e6ae11aa9f9ed7bba97bef69b01 (patch)
tree04992fa5c8d26ef0ec01fdfd4dcebac686d255f3
parentcf9b361b71054c963acfcf0b3c05152f56d09a1b (diff)
downloadFreeBSD-ports-283e0a01938e8e6ae11aa9f9ed7bba97bef69b01.zip
FreeBSD-ports-283e0a01938e8e6ae11aa9f9ed7bba97bef69b01.tar.gz
Don't hard-code -O2 or -m486. This still doesn't respect CXX, but I
couldn't figure out how to fix that.
-rw-r--r--net/opal/files/patch-aa24
-rw-r--r--net/opal3/files/patch-aa24
-rw-r--r--net/openh323-112/files/patch-aa24
-rw-r--r--net/openh323/files/patch-aa24
4 files changed, 96 insertions, 0 deletions
diff --git a/net/opal/files/patch-aa b/net/opal/files/patch-aa
new file mode 100644
index 0000000..4dc96d5
--- /dev/null
+++ b/net/opal/files/patch-aa
@@ -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)
diff --git a/net/opal3/files/patch-aa b/net/opal3/files/patch-aa
new file mode 100644
index 0000000..4dc96d5
--- /dev/null
+++ b/net/opal3/files/patch-aa
@@ -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)
diff --git a/net/openh323-112/files/patch-aa b/net/openh323-112/files/patch-aa
new file mode 100644
index 0000000..4dc96d5
--- /dev/null
+++ b/net/openh323-112/files/patch-aa
@@ -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)
diff --git a/net/openh323/files/patch-aa b/net/openh323/files/patch-aa
new file mode 100644
index 0000000..4dc96d5
--- /dev/null
+++ b/net/openh323/files/patch-aa
@@ -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)
OpenPOWER on IntegriCloud