git://scm.lunaixsky.com
/
lunaix-os.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
userspace fun: maze game and a new device to support it
[lunaix-os.git]
/
lunaix-os
/
usr
/
LBuild
1
sources([
2
"testp",
3
"ls",
4
"signal_demo",
5
"cat",
6
"stat",
7
"test_pthread",
8
"maze"
9
])
10
11
compile_opts([
12
"-ffreestanding",
13
"-fno-pie"
14
])
15
16
linking_opts([
17
"-nostdlib",
18
"-nolibc",
19
"-z noexecstack",
20
"-no-pie",
21
])
22
23
linking_opts([
24
"-Wl,--build-id=none"
25
])
26
27
if config("arch") == "x86_64":
28
compile_opts([
29
"-m64",
30
"-fno-unwind-tables",
31
"-fno-asynchronous-unwind-tables",
32
"-mcmodel=large"
33
])
34
linking_opts([
35
"-m64",
36
])
37
else:
38
compile_opts("-m32")
39
linking_opts("-m32")
40
41
compile_opts("-mno-sse")