aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2005-09-21 03:51:46 +0800
committerclement <clement@FreeBSD.org>2005-09-21 03:51:46 +0800
commit917fb8c6971dd966ef1523dbf6b85a19c8581fc7 (patch)
treeaa68fdd38abf3a12db322cce49877f66afa9807c
parent7df43b29d9bfd8059ce465b72f2ff328b6034693 (diff)
downloadfreebsd-ports-gnome-917fb8c6971dd966ef1523dbf6b85a19c8581fc7.tar.gz
freebsd-ports-gnome-917fb8c6971dd966ef1523dbf6b85a19c8581fc7.tar.zst
freebsd-ports-gnome-917fb8c6971dd966ef1523dbf6b85a19c8581fc7.zip
- Remove -02 [1] related patch
It's b0rked for compilers which don't support -fno-strict-aliasing [1] ports/73797 : Be causious compiling with -O2 (use -fno-strict-aliasing)
-rw-r--r--devel/portmk/Mk/bsd.port.mk3
-rw-r--r--ports-mgmt/portmk/Mk/bsd.port.mk3
2 files changed, 0 insertions, 6 deletions
diff --git a/devel/portmk/Mk/bsd.port.mk b/devel/portmk/Mk/bsd.port.mk
index fbfb80a7dfec..961cf08fb027 100644
--- a/devel/portmk/Mk/bsd.port.mk
+++ b/devel/portmk/Mk/bsd.port.mk
@@ -1420,9 +1420,6 @@ CFLAGS:= ${CFLAGS:C/${_CPUCFLAGS}//}
.endif
.endif
.endif
-.if ${CFLAGS:M-O[23s]} != ""
-CFLAGS+= -fno-strict-aliasing
-.endif
.if defined(NOPORTDOCS)
PLIST_SUB+= PORTDOCS="@comment "
diff --git a/ports-mgmt/portmk/Mk/bsd.port.mk b/ports-mgmt/portmk/Mk/bsd.port.mk
index fbfb80a7dfec..961cf08fb027 100644
--- a/ports-mgmt/portmk/Mk/bsd.port.mk
+++ b/ports-mgmt/portmk/Mk/bsd.port.mk
@@ -1420,9 +1420,6 @@ CFLAGS:= ${CFLAGS:C/${_CPUCFLAGS}//}
.endif
.endif
.endif
-.if ${CFLAGS:M-O[23s]} != ""
-CFLAGS+= -fno-strict-aliasing
-.endif
.if defined(NOPORTDOCS)
PLIST_SUB+= PORTDOCS="@comment "