]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - nptl/Makefile
RISC-V: Fix elfutils testsuite unwind failures.
[thirdparty/glibc.git] / nptl / Makefile
index 0e316edfac6c6f46ce3870449dfab722df82990c..8719f4eff4fae454c45f3a79511ef9e0ca3568ae 100644 (file)
@@ -320,7 +320,8 @@ tests = tst-attr1 tst-attr2 tst-attr3 tst-default-attr \
        tst-cnd-timedwait tst-thrd-detach tst-mtx-basic tst-thrd-sleep \
        tst-mtx-recursive tst-tss-basic tst-call-once tst-mtx-timedlock \
        tst-rwlock-pwn \
-       tst-rwlock-tryrdlock-stall tst-rwlock-trywrlock-stall
+       tst-rwlock-tryrdlock-stall tst-rwlock-trywrlock-stall \
+       tst-unwind-thread
 
 tests-internal := tst-rwlock19 tst-rwlock20 \
                  tst-sem11 tst-sem12 tst-sem13 \
@@ -710,6 +711,8 @@ $(objpfx)tst-audit-threads: $(objpfx)tst-audit-threads-mod2.so
 $(objpfx)tst-audit-threads.out: $(objpfx)tst-audit-threads-mod1.so
 tst-audit-threads-ENV = LD_AUDIT=$(objpfx)tst-audit-threads-mod1.so
 
+CFLAGS-tst-unwind-thread.c += -funwind-tables
+
 # The tests here better do not run in parallel
 ifneq ($(filter %tests,$(MAKECMDGOALS)),)
 .NOTPARALLEL: