]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove -simplifycfg-dup-ret from CLANG_OPT_SMALL flags for clang 13
authorDimitry Andric <dim@FreeBSD.org>
Sun, 29 Aug 2021 13:39:16 +0000 (15:39 +0200)
committerDimitry Andric <dim@FreeBSD.org>
Thu, 2 Sep 2021 23:30:26 +0000 (01:30 +0200)
commit4409857538fc66cb6ab9217add5ff6138ea28459
tree64921ad298ab23a49cd6a102eee8630e2984c171
parent461cfd4192d2b7735b6cee0f42e6a7818f8f50b4
Remove -simplifycfg-dup-ret from CLANG_OPT_SMALL flags for clang 13

After llvm/clang 13.0.0, the -simplifycfg-dup-ret backend flag is no
longer supported. This was part of CLANG_OPT_SMALL, which is only still
used for stand/i386/boot2 and stand/i386/isoboot, to achieve the very
small binary size required. Luckily clang 13.0.0 does not need any
additional flags for this (I get 240 bytes available when building
boot2).

(cherry picked from commit 22b8ab15c41a9efac201691b40e961b83698aa9c)
share/mk/bsd.sys.mk