git: 629c4aeacefe - main - kern.mk: drop flag only patched in-tree gcc understood
Ryan Libby
rlibby at FreeBSD.org
Mon Dec 28 22:04:24 UTC 2020
The branch main has been updated by rlibby:
URL: https://cgit.FreeBSD.org/src/commit/?id=629c4aeacefeecdd8ea36de52cc035e6fb0fd615
commit 629c4aeacefeecdd8ea36de52cc035e6fb0fd615
Author: Ryan Libby <rlibby at FreeBSD.org>
AuthorDate: 2020-12-28 22:03:36 +0000
Commit: Ryan Libby <rlibby at FreeBSD.org>
CommitDate: 2020-12-28 22:03:36 +0000
kern.mk: drop flag only patched in-tree gcc understood
-mno-align-long-strings was a flag maintained by FreeBSD for the
now-deleted in-tree gcc. Upstream gcc has no such flag, so just drop
it.
The flag was originally submitted by bde and committed in 2002 (svn
r97911 & r104455). However, upstream gcc did address this same issue in
2004 (gcc svn r76694 / git 4137ba7ab7a), reducing long string alignment
in general, and to 1 with -Os.
Reviewed by: kib
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D27768
---
sys/conf/kern.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
index a162c018d9cf..e897249c32e6 100644
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -104,7 +104,7 @@ FORMAT_EXTENSIONS= -fformat-extensions
# Setting -mno-sse implies -mno-sse2, -mno-sse3, -mno-ssse3, -mno-sse41 and -mno-sse42
#
.if ${MACHINE_CPUARCH} == "i386"
-CFLAGS.gcc+= -mno-align-long-strings -mpreferred-stack-boundary=2
+CFLAGS.gcc+= -mpreferred-stack-boundary=2
CFLAGS.clang+= -mno-aes -mno-avx
CFLAGS+= -mno-mmx -mno-sse -msoft-float
INLINE_LIMIT?= 8000
More information about the dev-commits-src-main
mailing list