Remove -fdata-sections and -ffunction-sections (let cc set these if needed)

This commit is contained in:
Ryan Leckey 2018-03-19 10:33:29 -07:00 committed by Brian Smith
parent 17ae173379
commit 1caad72349

View File

@ -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",