Skip to content

Commit

Permalink
remove stack protector
Browse files Browse the repository at this point in the history
dragonOS kernel doesn't need it
  • Loading branch information
Yao Zhao committed Oct 30, 2023
1 parent 6aff7c4 commit ba98506
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ fn compile_libunwind() {
cfg.cpp_set_stdlib(None);
cfg.cpp(true);
cfg.flag("-std=c++11");
cfg.flag("-fno-stack-protector");
cfg.flag("-fno-exceptions");
cfg.flag("-fno-rtti");
cfg.flag("-fstrict-aliasing");
Expand Down

0 comments on commit ba98506

Please sign in to comment.