mirror of
https://git.freebsd.org/ports.git
synced 2025-06-03 11:56:28 -04:00
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:
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
24
net/opal/files/patch-aa
Normal 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
24
net/opal3/files/patch-aa
Normal 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/openh323-112/files/patch-aa
Normal file
24
net/openh323-112/files/patch-aa
Normal 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/openh323/files/patch-aa
Normal file
24
net/openh323/files/patch-aa
Normal 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)
|
Loading…
Add table
Reference in a new issue