Skip to contentSkip to conversation

gflags: define NO_THREADS if toolchain doesn't support threads

PATCH New Rahul Bedarkar 2 participants 2 messages Jun 11, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gflags: define NO_THREADS if toolchain doesn't support threads

Fixes:
http://autobuild.buildroot.net/results/a42/a4288ed5050ce0d14e589745bf26c0a95acf645e/

---
 package/gflags/gflags.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/gflags/gflags.mk +1 -1
index 661dad8..9dc4e15 100644
@@ -11,7 +11,7 @@ GFLAGS_LICENSE = BSD-3c
 GFLAGS_LICENSE_FILES = COPYING.txt
 
 ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),)
-GFLAGS_CONF_OPTS = -DBUILD_gflags_LIB=OFF
+GFLAGS_CONF_OPTS = -DBUILD_gflags_LIB=OFF -DCMAKE_CXX_FLAGS=-DNO_THREADS
 endif
 
 $(eval $(cmake-package))
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 gflags: define NO_THREADS if toolchain doesn't support threads

Dear Rahul Bedarkar,

Quoted 7 lines · Rahul Bedarkar

Fixes:
http://autobuild.buildroot.net/results/a42/a4288ed5050ce0d14e589745bf26c0a95acf645e/

---
 package/gflags/gflags.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com