Remove -ffreestanding from libprofiler_builtins because we do need the standard library

This commit is contained in:
rojamd 2020-03-18 15:55:26 -04:00
parent f8870bfd63
commit 50c0562319

View File

@ -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"));