gmon: Run tst-gmon-prof only for run-built-tests=yes
authorFlorian Weimer <fweimer@redhat.com>
Tue, 15 Aug 2017 16:35:42 +0000 (18:35 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 15 Aug 2017 16:35:42 +0000 (18:35 +0200)
ChangeLog
gmon/Makefile

index fdea6b60a25959bd152a6fdbaac46b8088d6657c..a1fb5165c1080f846cf609054712c11663a08834 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-08-15  Florian Weimer  <fweimer@redhat.com>
+
+       * gmon/Makefile (tests-special): Add tst-gmon-prof only if
+       run-built-tests.
+
 2017-08-15  Florian Weimer  <fweimer@redhat.com>
 
        Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
index 947e6b5905cca7bc0cc3aaf114ca3586938aa5bb..39f11acec242616bd423a42af45866df0fa12bee 100644 (file)
@@ -42,7 +42,9 @@ CFLAGS-tst-gmon.c := -pg
 LDFLAGS-tst-gmon := $(no-pie-ldflag)
 CRT-tst-gmon := $(csu-objpfx)gcrt1.o
 tst-gmon-ENV := GMON_OUT_PREFIX=$(objpfx)tst-gmon.data
+ifeq ($(run-built-tests),yes)
 tests-special += $(objpfx)tst-gmon-gprof.out
+endif
 
 include ../Rules