]> 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>
Sun, 29 Aug 2021 13:39:16 +0000 (15:39 +0200)
commit22b8ab15c41a9efac201691b40e961b83698aa9c
tree7e172b94199ba00e3bd63e3ffff8eea1e492927d
parent80078d9d38fde6f146de28809640b2c7bff45a6c
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).

MFC after: 3 days
share/mk/bsd.sys.mk