git://scm.lunaixsky.com
/
lunaix-os.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
0561206b9c4d4987227391bd211ce641577577ef
[lunaix-os.git]
/
lunaix-os
/
usr
/
LBuild
1
sources([
2
"testp",
3
"ls",
4
"signal_demo",
5
"cat",
6
"stat",
7
"test_pthread",
8
"file_test",
9
"maze",
10
"mkdir",
11
"rm",
12
"fragfile",
13
])
14
15
compile_opts([
16
"-ffreestanding",
17
"-fno-pie"
18
])
19
20
linking_opts([
21
"-nostdlib",
22
"-nolibc",
23
"-z noexecstack",
24
"-no-pie",
25
])
26
27
linking_opts([
28
"-Wl,--build-id=none"
29
])
30
31
if config("arch") == "x86_64":
32
compile_opts([
33
"-m64",
34
"-fno-unwind-tables",
35
"-fno-asynchronous-unwind-tables",
36
"-mcmodel=large"
37
])
38
linking_opts([
39
"-m64",
40
])
41
else:
42
compile_opts("-m32")
43
linking_opts("-m32")
44
45
compile_opts("-mno-sse")