Fix build error by adding -fno-stack-protector to CFLAGS in usr/LBuild (#63)
authorIntegral <integral@member.fsf.org>
Tue, 3 Jun 2025 09:32:36 +0000 (17:32 +0800)
committerGitHub <noreply@github.com>
Tue, 3 Jun 2025 09:32:36 +0000 (10:32 +0100)
lunaix-os/usr/LBuild

index 05a12461912f94768e8e0c88e6a2e436039b32a8..a349e7d498c5aeb1a5d1a4efc988a46019c2c839 100644 (file)
@@ -15,6 +15,7 @@ src.c += (
 flag.cc += (
     "-ffreestanding",
     "-fno-pie",
+    "-fno-stack-protector",
     "-Werror"
 )
 
@@ -49,4 +50,4 @@ flag.cc += "-mno-sse"
 
 flag.cc += (
     "-Wno-discarded-qualifiers"
-)
\ No newline at end of file
+)