forked from OSchip/llvm-project
[libunwind] Remove unused _LIBUNWIND_HAS_NO_THREADS macro in tests
The _LIBUNWIND_HAS_NO_THREADS macro is only picked up by libunwind inside its sources, so it is only required when it builds. It doesn't need to be defined when running the tests.
This commit is contained in:
parent
ac2ff258d6
commit
a5f36259a2
|
@ -25,7 +25,6 @@ if @LIBUNWIND_USES_ARM_EHABI@:
|
|||
config.available_features.add('libunwind-arm-ehabi')
|
||||
|
||||
if not @LIBUNWIND_ENABLE_THREADS@:
|
||||
compile_flags.append('-D_LIBUNWIND_HAS_NO_THREADS')
|
||||
config.available_features.add('libunwind-no-threads')
|
||||
|
||||
if @LIBUNWIND_ENABLE_CET@:
|
||||
|
|
|
@ -28,7 +28,6 @@ if @LIBUNWIND_USES_ARM_EHABI@:
|
|||
config.available_features.add('libunwind-arm-ehabi')
|
||||
|
||||
if not @LIBUNWIND_ENABLE_THREADS@:
|
||||
compile_flags.append('-D_LIBUNWIND_HAS_NO_THREADS')
|
||||
config.available_features.add('libunwind-no-threads')
|
||||
|
||||
if @LIBUNWIND_ENABLE_CET@:
|
||||
|
|
|
@ -29,7 +29,6 @@ if @LIBUNWIND_USES_ARM_EHABI@:
|
|||
config.available_features.add('libunwind-arm-ehabi')
|
||||
|
||||
if not @LIBUNWIND_ENABLE_THREADS@:
|
||||
compile_flags.append('-D_LIBUNWIND_HAS_NO_THREADS')
|
||||
config.available_features.add('libunwind-no-threads')
|
||||
else:
|
||||
link_flags.append('-lpthread')
|
||||
|
|
Loading…
Reference in New Issue