[Buildroot] [PATCH v2 2/2] Revert "harfbuzz: fix static linking of test programs when toolchain has threads support"

Romain Naour romain.naour at openwide.fr
Tue May 12 21:51:24 UTC 2015


harfbuzz version was updated since this change and
it's no not useful anymore to add -pthread in LDFLAGS (fixed upstream).

Also, test programs are not build anymore since --disable-tests
was used in harfbuzz.mk

This reverts commit 3d03017f53c2566ed32a0ae76d79eeb1ef4a7feb.

Signed-off-by: Romain Naour <romain.naour at openwide.fr>
---
v2: reword commit log
    add Sob line
---
 package/harfbuzz/harfbuzz.mk | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/package/harfbuzz/harfbuzz.mk b/package/harfbuzz/harfbuzz.mk
index 3f0b028..c5182a4 100644
--- a/package/harfbuzz/harfbuzz.mk
+++ b/package/harfbuzz/harfbuzz.mk
@@ -30,11 +30,6 @@ HOST_HARFBUZZ_CONF_OPTS = \
 # beta libtool version
 HARFBUZZ_AUTORECONF = YES
 
-ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
-# forgets to link test programs with -pthread breaking static link
-HARFBUZZ_CONF_ENV = LDFLAGS="$(TARGET_LDFLAGS) -pthread"
-endif
-
 ifeq ($(BR2_PACKAGE_CAIRO),y)
 HARFBUZZ_DEPENDENCIES += cairo
 HARFBUZZ_CONF_OPTS += --with-cairo=yes
-- 
1.9.3




More information about the buildroot mailing list