]> xenbits.xensource.com Git - unikraft/libs/libcxxabi.git/commitdiff
Uncomment thread option checks
authorVlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@stud.acs.upb.ro>
Tue, 14 Jan 2020 16:16:14 +0000 (16:16 +0000)
committerFelipe Huici <felipe.huici@neclab.eu>
Thu, 16 Jan 2020 10:24:24 +0000 (11:24 +0100)
Commit 84107fa4 added an option for thread support but the Makefile
toggle was commented.

Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@stud.acs.upb.ro>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
Makefile.uk

index 52e911491d4d7304adc060074d833333f68433d2..3bc2e91b508790a8040020a4762c07c8262d27f3 100644 (file)
@@ -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