X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/1025235c72c31f7fa7b648c0e32ddcaa68a8f66a..refs/heads/isa/arm64:/lunaix-os/LBuild diff --git a/lunaix-os/LBuild b/lunaix-os/LBuild index f4bb7c8..dcee304 100644 --- a/lunaix-os/LBuild +++ b/lunaix-os/LBuild @@ -6,4 +6,22 @@ use("hal") headers([ "includes", "includes/usr" +]) + +# compliation setting + +compile_opts([ + "-ffreestanding", + "-fno-pie" +]) + +linking_opts([ + "-nostdlib", + "-nolibc", + "-z noexecstack", + "-no-pie", +]) + +linking_opts([ + "-Wl,--build-id=none" ]) \ No newline at end of file