summaryrefslogtreecommitdiff
blob: da45c87b0e27e19b10f78b7f45b639103bb34764 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
	<maintainer type="project">
		<email>llvm@gentoo.org</email>
	</maintainer>
	<upstream>
		<remote-id type="github">llvm/llvm-project</remote-id>
	</upstream>
	<use>
		<flag name="bootstrap-prefix">!!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used for bootstrapping Gentoo Prefix</flag>
		<flag name="cet">
			Enable support for control flow hijacking protection.

			On amd64, this provides Intel Control Flow Enforcement Technology (CET).

			Only provides benefits on newer CPUs. For Intel, the CPU
			must be at least as new as Tiger Lake. For AMD, it must be
			at least as new as Zen 3. This is harmless on older CPUs,
			but provides no benefit either.
		</flag>
		<flag name="default-compiler-rt">Use compiler-rt + libunwind instead of libgcc as the default rtlib for clang</flag>
		<flag name="default-libcxx">Use libc++ instead of libstdc++ as the default stdlib for clang</flag>
		<flag name="default-lld">Use lld as the default linker for clang</flag>
		<flag name="stricter">Default to stricter behavior known from newer clang versions, turning more warnings into errors</flag>
	</use>
</pkgmetadata>