Remove ELF specific -ffunction-sections from osx crosstool
Also `-fdata-sections`. These flags do nothing for mach-o binaries. See
Closes
@@ -4912,8 +4912,6 @@ def _impl(ctx):
"-O2",
"-D_FORTIFY_SOURCE=1",
"-DNDEBUG",
- "-ffunction-sections",
- "-fdata-sections",
"-DNS_BLOCK_ASSERTIONS=1",
],
),
@@ -5032,8 +5030,6 @@ def _impl(ctx):
"-O2",
"-D_FORTIFY_SOURCE=1",
"-DNDEBUG",
- "-ffunction-sections",
- "-fdata-sections",
],
),
],
