git://scm.lunaixsky.com
/
lunaix-os.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix page mounting contention (close #57)
[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
])
13
14
compile_opts([
15
"-ffreestanding",
16
"-fno-pie"
17
])
18
19
linking_opts([
20
"-nostdlib",
21
"-nolibc",
22
"-z noexecstack",
23
"-no-pie",
24
])
25
26
linking_opts([
27
"-Wl,--build-id=none"
28
])
29
30
if config("arch") == "x86_64":
31
compile_opts([
32
"-m64",
33
"-fno-unwind-tables",
34
"-fno-asynchronous-unwind-tables",
35
"-mcmodel=large"
36
])
37
linking_opts([
38
"-m64",
39
])
40
else:
41
compile_opts("-m32")
42
linking_opts("-m32")
43
44
compile_opts("-mno-sse")