aboutsummaryrefslogtreecommitdiff
path: root/package/beecrypt
diff options
context:
space:
mode:
authorGravatar Thomas De Schampheleire <patrickdepinguin@gmail.com>2013-11-22 22:17:32 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2013-11-23 00:20:40 +0100
commitcc2c75b0ec8b1b24ddbeecc1b00a6aa5d498878a (patch)
tree2f6c6cf2f4e25736566fb77ca723188f421ce22d /package/beecrypt
parent32d6473ab5fe23aac676b529fb5babab750565c0 (diff)
downloadbuildroot-cc2c75b0ec8b1b24ddbeecc1b00a6aa5d498878a.tar.gz
buildroot-cc2c75b0ec8b1b24ddbeecc1b00a6aa5d498878a.tar.bz2
beecrypt: unconditionally disable openpm
beecrypt does not properly handle its dependency on openpm, so that applications using libbeecrypt are not aware that they also need openmp (libgomp). This causes error messages during linking, such as (rpm): ..-gcc [..] -lbeecrypt -lbz2 -lz -lpopt -lpthread libbecrypt.so: undefined reference to `GOMP_sections_end_nowait' libbecrypt.so: undefined reference to `GOMP_parallel_end' libbecrypt.so: undefined reference to `GOMP_sections_next' libbecrypt.so: undefined reference to `GOMP_parallel_sections_start' Because the openpm dependency of beecrypt is only used by rsa.c, to parallelize the calculation of RSA cyphers, we can simply disable openmp in beecrypt instead of trying to fix the way -lgomp is passed. Fixes http://autobuild.buildroot.net/results/bcf/bcff4b81bfbb1191f97317b0945c74d948c9774b/ Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/beecrypt')
-rw-r--r--package/beecrypt/beecrypt.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/beecrypt/beecrypt.mk b/package/beecrypt/beecrypt.mk
index 5805bda5ae..223b44fb33 100644
--- a/package/beecrypt/beecrypt.mk
+++ b/package/beecrypt/beecrypt.mk
@@ -19,7 +19,8 @@ BEECRYPT_CONF_ENV = \
BEECRYPT_CONF_OPT = \
--without-java \
- --without-python
+ --without-python \
+ --disable-openmp
ifeq ($(BR2_PACKAGE_ICU),y)
# C++ support needs icu