diff options
author | Romain Naour <romain.naour@openwide.fr> | 2015-07-31 15:24:53 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-08-06 09:06:01 +0200 |
commit | 8541fc05a3f6d7495e31304619adcc9e210a6989 (patch) | |
tree | faa78e1d5eec4ee24eb2c458e39908e06855cca8 /package/qt5/qt5quickcontrols | |
parent | 227ae6888f3eb0b9f4224003925ef274db788950 (diff) | |
download | buildroot-8541fc05a3f6d7495e31304619adcc9e210a6989.tar.gz buildroot-8541fc05a3f6d7495e31304619adcc9e210a6989.zip |
package/eudev: fix build with musl + libselinux
Add a patch to disable mallinfo statistics with musl toolchains
which doesn't have struct mallinfo.
Fixes:
selinux-util.c: In function ‘mac_selinux_init’:
selinux-util.c:70:25: error: storage size of ‘before_mallinfo’ isn’t known
struct mallinfo before_mallinfo, after_mallinfo;
Add a second patch for strndupa() which is a GNU extension.
Fixes:
./.libs/libudev-core.a(selinux-util.o): In function `mac_selinux_bind':
selinux-util.c:(.text+0xd94): undefined reference to `strndupa'
collect2: error: ld returned 1 exit status
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Cc: Clayton Shotwell <clshotwe@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/qt5/qt5quickcontrols')
0 files changed, 0 insertions, 0 deletions