Remove -fdata-sections and -ffunction-sections (let cc set these if needed)
This commit is contained in:
parent
17ae173379
commit
1caad72349
2
build.rs
2
build.rs
@ -191,8 +191,6 @@ fn c_flags(target: &Target) -> &'static [&'static str] {
|
||||
fn cpp_flags(target: &Target) -> &'static [&'static str] {
|
||||
if target.env != MSVC {
|
||||
static NON_MSVC_FLAGS: &'static [&'static str] = &[
|
||||
"-fdata-sections",
|
||||
"-ffunction-sections",
|
||||
"-pedantic",
|
||||
"-pedantic-errors",
|
||||
"-Wall",
|
||||
|
Loading…
x
Reference in New Issue
Block a user