mirror of
https://github.com/NeoFlock/neonucleus.git
synced 2025-09-24 09:03:32 +02:00
PIC 2.0
This commit is contained in:
parent
48faf57d84
commit
255df4d352
@ -52,6 +52,7 @@ fn addEngineSources(b: *std.Build, opts: LibBuildOpts) *std.Build.Module {
|
||||
if(strict) "-Werror" else "",
|
||||
"-std=gnu23",
|
||||
"-Wno-keyword-macro", // cuz bools
|
||||
"-fPIC",
|
||||
},
|
||||
});
|
||||
|
||||
@ -61,6 +62,9 @@ fn addEngineSources(b: *std.Build, opts: LibBuildOpts) *std.Build.Module {
|
||||
.files = &.{
|
||||
"src/tinycthread.c",
|
||||
},
|
||||
.flags = &.{
|
||||
"-fPIC",
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user