From fc42f13cb67df4ff8e9d1cee9acb61e6b6821558 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vlad-Andrei=20B=C4=82DOIU=20=2878692=29?= Date: Tue, 14 Jan 2020 16:16:14 +0000 Subject: [PATCH] Uncomment thread option checks Commit 84107fa4 added an option for thread support but the Makefile toggle was commented. Signed-off-by: Vlad-Andrei Badoiu Reviewed-by: Felipe Huici --- Makefile.uk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.uk b/Makefile.uk index 52e9114..3bc2e91 100644 --- a/Makefile.uk +++ b/Makefile.uk @@ -68,9 +68,9 @@ CXXINCLUDES-$(CONFIG_LIBCXXABI) += -I$(LIBCXXABI_SRC)/include ################################################################################ # Global flags ################################################################################ -#ifndef CONFIG_LIBCXXABI_THREADS +ifndef CONFIG_LIBCXXABI_THREADS CONFIG_FLAGS += -D _LIBCXXABI_HAS_NO_THREADS -#endif +endif LIBCXXABI_CFLAGS-y += $(CONFIG_FLAGS) LIBCXXABI_CXXFLAGS-y += $(CONFIG_FLAGS) @@ -99,6 +99,6 @@ LIBCXXABI_SRCS-y += $(LIBCXXABI_SRC)/src/private_typeinfo.cpp LIBCXXABI_SRCS-y += $(LIBCXXABI_SRC)/src/cxa_handlers.cpp LIBCXXABI_SRCS-y += $(LIBCXXABI_SRC)/src/cxa_default_handlers.cpp LIBCXXABI_SRCS-y += $(LIBCXXABI_SRC)/src/cxa_guard.cpp -#ifdef CONFIG_LIBCXXABI_THREADS +ifdef CONFIG_LIBCXXABI_THREADS LIBCXXABI_SRCS-y += $(LIBCXXABI_SRC)/src/cxa_thread_atexit.cpp -#endif +endif -- 2.39.5