diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-07-11 16:35:14 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-07-24 21:44:22 +0200 |
commit | 3c93901bcd2f77232581ca82a3a5f741aa9e6345 (patch) | |
tree | 63d3b509fa5ecae56f17772fdd034ab7318dc96a /package/bluez_utils | |
parent | 58b573c252139c6e6ec7a14964ed6810502aaf23 (diff) | |
download | buildroot-3c93901bcd2f77232581ca82a3a5f741aa9e6345.tar.gz buildroot-3c93901bcd2f77232581ca82a3a5f741aa9e6345.zip |
toolchain: add hidden symbol for PIE support
uClibc-ng does not support PIE for some architectures as
arc and m68k. It isn't implemented in the static linking case, too.
With musl toolchains you might have static PIE support with little
patching of gcc. Static linking for GNU libc isn't enabled in
buildroot. Fixup any package using special treatment of PIE.
(grep -ir pie package/*/*.mk)
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
[Thomas: use positive logic.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/bluez_utils')
-rw-r--r-- | package/bluez_utils/bluez_utils.mk | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/package/bluez_utils/bluez_utils.mk b/package/bluez_utils/bluez_utils.mk index 91c2905603..1c93f2e5f5 100644 --- a/package/bluez_utils/bluez_utils.mk +++ b/package/bluez_utils/bluez_utils.mk @@ -54,8 +54,7 @@ BLUEZ_UTILS_CONF_OPTS += \ --disable-usb endif -# PIE is broken for m68k -ifeq ($(BR2_m68k),y) +ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),) BLUEZ_UTILS_CONF_OPTS += --disable-pie endif |