Page MenuHomeFreeBSD

kern.mk: drop flag only patched in-tree gcc understood
ClosedPublic

Authored by rlibby on Dec 24 2020, 7:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 11, 8:44 AM
Unknown Object (File)
Wed, Nov 27, 10:28 PM
Unknown Object (File)
Nov 15 2024, 11:51 AM
Unknown Object (File)
Oct 6 2024, 3:58 AM
Unknown Object (File)
Oct 6 2024, 12:35 AM
Unknown Object (File)
Oct 3 2024, 3:15 AM
Unknown Object (File)
Oct 3 2024, 12:11 AM
Unknown Object (File)
Oct 1 2024, 10:24 AM
Subscribers

Details

Summary

-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.

Test Plan
env MAKEOBJDIRPREFIX=/usr/obj/gcc9 CROSS_TOOLCHAIN=i386-gcc9 make TARGET=i386 buildkernel

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable