summaryrefslogtreecommitdiff
path: root/amd64.ini
blob: 378579c8f8f9e8e390d0ed9ceeb15a06c7d6e96c (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
28
29
30
31
32
33
34
35
36
[constants]
arch = 'x86_64-pc-freebsd-elf'
common_flags = [
		'--target=' + arch,
		'-Wall',
		'-Wno-incompatible-library-redeclaration',
		'-Wno-builtin-requires-header',
		'-mno-red-zone',
		'-mno-sse',
		'-mno-mmx',
		'-I./',
		'-nostdlib',
		'-nostdinc'
		]

[binaries]
c = 'clang'
c_ld = 'lld'
strip = 'llvm-strip'

[built-in options]
c_args = common_flags + [ '-std=c11' ]
c_link_args = [
	'--target=' + arch,
	'-L./',
	'-nostdlib',
	'-static',
	'-Wl,-nostdlib',
	'-Wl,--gc-sections']

[host_machine]
system = 'none'
cpu_family = 'x86_64'
cpu = 'x86_64'
endian = 'little'
strip = true