Remove -ffreestanding from libprofiler_builtins because we do need the standard library
This commit is contained in:
parent
f8870bfd63
commit
50c0562319
@ -41,7 +41,6 @@ fn main() {
|
|||||||
cfg.flag("-fno-builtin");
|
cfg.flag("-fno-builtin");
|
||||||
cfg.flag("-fvisibility=hidden");
|
cfg.flag("-fvisibility=hidden");
|
||||||
cfg.flag("-fomit-frame-pointer");
|
cfg.flag("-fomit-frame-pointer");
|
||||||
cfg.flag("-ffreestanding");
|
|
||||||
cfg.define("VISIBILITY_HIDDEN", None);
|
cfg.define("VISIBILITY_HIDDEN", None);
|
||||||
if !target.contains("windows") {
|
if !target.contains("windows") {
|
||||||
cfg.define("COMPILER_RT_HAS_UNAME", Some("1"));
|
cfg.define("COMPILER_RT_HAS_UNAME", Some("1"));
|
||||||
|
Loading…
Reference in New Issue
Block a user