builder (musl): add -fno-stack-protector

Arch Linux has turned on the stack protector by default.
This causes a crash in libc init because the stack protector uses TLS before it is initialized.
This commit is contained in:
Nia Waldvogel
2022-01-08 09:16:53 -05:00
committed by Ron Evans
parent ebd4969cde
commit fe21650010
+1
View File
@@ -101,6 +101,7 @@ var Musl = Library{
"-I" + muslDir + "/src/internal",
"-I" + headerPath,
"-I" + muslDir + "/include",
"-fno-stack-protector",
}
},
sourceDir: "lib/musl/src",