openwrtv4/package/utils/busybox
Matthias Schiffer 20c349f68c
busybox: add missing TARGET_CPPFLAGS and TARGET_LDFLAGS
Unconditionally pass TARGET_CPPFLAGS (not passed at all before) and
TARGET_LDFLAGS (passed only in certain non-default configuration before the
Makefile streamlining). Without these flags, hardening options
(PKG_FORTIFY_SOURCE and PKG_RELRO) were not actually applied to busybox.

The addition of these flags increases the size of the stripped busybox
binary by about 6KB (~4KB with fortify headers, ~2KB with "-znow -zrelro")
with the default hardening options PKG_FORTIFY_SOURCE_1 and PKG_RELRO_FULL.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2017-12-28 12:26:23 +01:00
..
config merge: busybox: update CONFIG_NSLOOKUP in busybox config and respective patch 2017-12-08 19:41:18 +01:00
files sysntpd: restore support for peer-less (standalone) mode 2017-03-15 23:05:00 +01:00
patches merge: busybox: update CONFIG_NSLOOKUP in busybox config and respective patch 2017-12-08 19:41:18 +01:00
Config-defaults.in busybox: enable find -newer needed for shorewall firewall, no size increase on binary 2017-12-14 09:29:30 +01:00
Config.in busybox: include config files relative to the main Config.in (#18522) 2014-12-12 12:33:34 +00:00
convert_defaults.pl busybox: add a reworked implementation of menuconfig support, this time with a guard option that keeps all symbols at default values until an extra option is activated 2014-01-31 13:50:16 +00:00
convert_menuconfig.pl busybox: adjust convert_menuconfig.pl to emit relative path references for Config.in files and refresh generated files 2016-01-03 11:38:31 +00:00
Makefile busybox: add missing TARGET_CPPFLAGS and TARGET_LDFLAGS 2017-12-28 12:26:23 +01:00