diff options
author | Roland McGrath <roland@hack.frob.com> | 2015-03-04 13:52:45 -0800 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2015-03-04 13:52:45 -0800 |
commit | e4693aa7c1777e6849b7bbb5fc9061e883bd58fd (patch) | |
tree | f89dc38ae728741604ae089adc528f8e361dd33e /debug/Makefile | |
parent | 8e2e833ac4d6509b152d6b8d74d388725717c56f (diff) | |
download | glibc-e4693aa7c1777e6849b7bbb5fc9061e883bd58fd.tar glibc-e4693aa7c1777e6849b7bbb5fc9061e883bd58fd.tar.gz glibc-e4693aa7c1777e6849b7bbb5fc9061e883bd58fd.tar.bz2 glibc-e4693aa7c1777e6849b7bbb5fc9061e883bd58fd.zip |
Avoid C++ tests when the C++ cannot be linked.
Diffstat (limited to 'debug/Makefile')
-rw-r--r-- | debug/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/debug/Makefile b/debug/Makefile index 2db5e202ae..c775223ef2 100644 --- a/debug/Makefile +++ b/debug/Makefile @@ -133,10 +133,13 @@ LDFLAGS-tst-backtrace6 = -rdynamic tests = backtrace-tst tst-longjmp_chk tst-chk1 tst-chk2 tst-chk3 \ tst-lfschk1 tst-lfschk2 tst-lfschk3 test-strcpy_chk test-stpcpy_chk \ - tst-chk4 tst-chk5 tst-chk6 tst-lfschk4 tst-lfschk5 tst-lfschk6 \ tst-longjmp_chk2 tst-backtrace2 tst-backtrace3 tst-backtrace4 \ tst-backtrace5 tst-backtrace6 +ifneq (,$(CXX)) +tests += tst-chk4 tst-chk5 tst-chk6 tst-lfschk4 tst-lfschk5 tst-lfschk6 +endif + extra-libs = libSegFault libpcprofile extra-libs-others = $(extra-libs) |