diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2017-12-10 18:04:53 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2017-12-28 12:26:23 +0100 |
commit | 20c349f68ca108d8b20363efbf5fa698e8446009 (patch) | |
tree | 0ec8dfb0cb2b0297cc500ebd0fd44fcd3cf6e12c /package/utils/osafeloader/src/md5.h | |
parent | a10fae113349f120486c86fc616948b5b6f1a76e (diff) | |
download | upstream-20c349f68ca108d8b20363efbf5fa698e8446009.tar.gz upstream-20c349f68ca108d8b20363efbf5fa698e8446009.tar.bz2 upstream-20c349f68ca108d8b20363efbf5fa698e8446009.zip |
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>
Diffstat (limited to 'package/utils/osafeloader/src/md5.h')
0 files changed, 0 insertions, 0 deletions