rewrite the device subsystem interfaces (#48)
[lunaix-os.git] / lunaix-os / LBuild
index f4bb7c847da726eca3e1c1bd757b45ae9f9a0d8f..dcee304424dc51737ad7ee7b0b83604639f367cb 100644 (file)
@@ -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