summaryrefslogtreecommitdiffstats
path: root/package/libseccomp/0001-use-system-headers-from-sysroot.patch
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2015-03-27 22:10:23 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-03-30 23:07:48 +0200
commit1b171af3b3b4e0f0537173c7b9703c729915a6ab (patch)
tree5bcccc865daffd6c8d9d46a694b123217bb04d96 /package/libseccomp/0001-use-system-headers-from-sysroot.patch
parent2c7373b370ca0edf54ebc3cc3f7cc67055219f55 (diff)
downloadbuildroot-1b171af3b3b4e0f0537173c7b9703c729915a6ab.tar.gz
buildroot-1b171af3b3b4e0f0537173c7b9703c729915a6ab.zip
arch: BINFMT_FLAT_SHARED is not really shared for buildroot purposes
Although BINFMT_FLAT_SHARED is indeed a shared library format, it does not support dynamic library loading with dlopen(). So for buildroot purposes, BR2_STATIC_LIBS shouldn't be selected. As it happens, the compiler options that are added for BINFMT_FLAT_SHARED also make the compiler ignore the -static option, so we can simply force BR2_STATIC_LIBS and things work out perfectly. Therefore, remove the select of BR2_BINFMT_SUPPORTS_SHARED from BINFMT_FLAT_SHARED, which in turn makes sure that BR2_STATIC_LIBS is selected. [Arnout: rewrite commit message, add explanatory comment] Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libseccomp/0001-use-system-headers-from-sysroot.patch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud