|
@@ -19,7 +19,7 @@ ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
|
HAPROXY_LIBS += -latomic
|
|
HAPROXY_LIBS += -latomic
|
|
endif
|
|
endif
|
|
|
|
|
|
-ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
|
|
|
|
|
+ifeq ($(BR2_TOOLCHAIN_HAS_THREADS_NPTL),y)
|
|
# threads uses atomics on gcc >= 4.7 and sync otherwise (see
|
|
# threads uses atomics on gcc >= 4.7 and sync otherwise (see
|
|
# include/common/hathreads.h)
|
|
# include/common/hathreads.h)
|
|
ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_4_7):$(BR2_TOOLCHAIN_HAS_ATOMIC),y:y)
|
|
ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_4_7):$(BR2_TOOLCHAIN_HAS_ATOMIC),y:y)
|