diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2014-08-12 14:26:13 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-08-13 23:28:05 +0200 |
commit | c0ce7599526c4dce6d889fc4a5aa007f445e6d76 (patch) | |
tree | 6dd1e4b095cf937f2a50466daf4a2a1a6796fb9a /meta-oe/recipes-support/syslog-ng/syslog-ng.inc | |
parent | efea141c6e6e44ca48f3837e5c3383ccfe9ba247 (diff) | |
download | meta-openembedded-c0ce7599526c4dce6d889fc4a5aa007f445e6d76.tar.gz |
syslog-ng: fix do_compi1e of qemuarm while DEBUG_BUILD
The thread local storage caused arm-gcc broken while compiling
syslog-ng with option '-g -O'.
...
dnscache.s: Assembler messages:
dnscache.s:100: Error: invalid operands (.text and *UND* sections) for `-'
...
Add option --enable-thread-tls in configure to explicitly disable
thread local storage for arm while DEBUG_BUILD enabled.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/syslog-ng/syslog-ng.inc')
-rw-r--r-- | meta-oe/recipes-support/syslog-ng/syslog-ng.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/syslog-ng/syslog-ng.inc b/meta-oe/recipes-support/syslog-ng/syslog-ng.inc index 57976b3a2..22767778f 100644 --- a/meta-oe/recipes-support/syslog-ng/syslog-ng.inc +++ b/meta-oe/recipes-support/syslog-ng/syslog-ng.inc | |||
@@ -18,6 +18,7 @@ SRC_URI = "http://www.balabit.com/downloads/files/syslog-ng/sources/${PV}/source | |||
18 | file://syslog-ng.conf \ | 18 | file://syslog-ng.conf \ |
19 | file://initscript \ | 19 | file://initscript \ |
20 | file://volatiles.03_syslog-ng \ | 20 | file://volatiles.03_syslog-ng \ |
21 | file://configure.ac-add-option-enable-thread-tls-to-manage-.patch \ | ||
21 | " | 22 | " |
22 | 23 | ||
23 | inherit autotools systemd pkgconfig update-rc.d update-alternatives | 24 | inherit autotools systemd pkgconfig update-rc.d update-alternatives |
@@ -32,8 +33,12 @@ EXTRA_OECONF = " \ | |||
32 | --with-sysroot=${STAGING_DIR_HOST} \ | 33 | --with-sysroot=${STAGING_DIR_HOST} \ |
33 | --with-libmongo-client=no --disable-mongodb \ | 34 | --with-libmongo-client=no --disable-mongodb \ |
34 | --with-librabbitmq-client=no \ | 35 | --with-librabbitmq-client=no \ |
36 | ${CONFIG_TLS} \ | ||
35 | " | 37 | " |
36 | 38 | ||
39 | CONFIG_TLS = "--enable-thread-tls" | ||
40 | CONFIG_TLS_arm = "${@base_conditional( "DEBUG_BUILD", "1", " --disable-thread-tls", " --enable-thread-tls", d )}" | ||
41 | |||
37 | PACKAGECONFIG ??= "openssl \ | 42 | PACKAGECONFIG ??= "openssl \ |
38 | ${@base_contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \ | 43 | ${@base_contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \ |
39 | ${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ | 44 | ${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ |