fix: ext2 directory insertion; racing on inode create
[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     "testfork",
13     "fragfile",
14 ])
15
16 compile_opts([
17     "-ffreestanding",
18     "-fno-pie"
19 ])
20
21 linking_opts([
22     "-nostdlib", 
23     "-nolibc", 
24     "-z noexecstack", 
25     "-no-pie", 
26 ])
27
28 linking_opts([
29     "-Wl,--build-id=none"
30 ])
31
32 if config("arch") == "x86_64":
33     compile_opts([
34         "-m64", 
35         "-fno-unwind-tables", 
36         "-fno-asynchronous-unwind-tables",
37         "-mcmodel=large"
38     ])
39     linking_opts([
40         "-m64",
41     ])
42 else:
43     compile_opts("-m32")
44     linking_opts("-m32")
45
46 compile_opts("-mno-sse")