https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81096
Wilco <wilco at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2017-08-16 CC| |wilco at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #4 from Wilco <wilco at gcc dot gnu.org> --- Confirmed. It works fine for me with ttest_CFLAGS = -pthread -funwind-tables so the issue is that it doesn't also add $(AM_CFLAGS) like btest_CFLAGS does.