[Snek] [keith-packard/snek] 055fe2: Remove -ffunction-sections -fdata-sections for build

Keith Packard noreply at github.com
Sun May 10 22:50:31 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/keith-packard/snek
  Commit: 055fe2c9657d8531a71568cc077e230d64c5dea4
      https://github.com/keith-packard/snek/commit/055fe2c9657d8531a71568cc077e230d64c5dea4
  Author: Keith Packard <keithp at keithp.com>
  Date:   2020-05-10 (Sun, 10 May 2020)

  Changed paths:
    M snek.defs

  Log Message:
  -----------
  Remove -ffunction-sections -fdata-sections for build

Using these reduces the opportunity for some intra module
optimizations, which increases code size on some platforms. As we
don't have any unused code or data, there's no reason to compile our
source with these flags. Leave the -Wl,--gc-sections link argument in
case there are opportunities to save space in libc.

Signed-off-by: Keith Packard <keithp at keithp.com>




More information about the Snek mailing list