summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Makefile.am3
-rw-r--r--Makefile.in2
3 files changed, 6 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index ec1ffe10..0c30489a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,9 @@
2006-11-09 Martin Hunt <hunt@redhat.com>
-
+ * Makefile.am (staprun_LDADD): Need PROCFLAGS here too.
+
+2006-11-09 Martin Hunt <hunt@redhat.com>
* Makefile.am (staprun_CFLAGS): New. Use PROCFLAGS.
+
* configure.ac: Add PROCFLAGS. Processor-dependent
compilation flags.
* configure: Rebuilt.
diff --git a/Makefile.am b/Makefile.am
index c4343892..e701e660 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -54,8 +54,7 @@ endif
staprun_SOURCES = runtime/stpd/stpd.c runtime/stpd/librelay.c runtime/stpd/symbols.c
staprun_CFLAGS = @PROCFLAGS@
-
-staprun_LDADD = -lpthread
+staprun_LDADD = @PROCFLAGS@ -lpthread
pkglibexec_SCRIPTS = stp_check
CLEANFILES += $(pkglibexec_SCRIPTS)
diff --git a/Makefile.in b/Makefile.in
index a2ae444e..90f9dc57 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -266,7 +266,7 @@ CLEANFILES = $(am__append_3) $(pkglibexec_SCRIPTS)
@BUILD_ELFUTILS_TRUE@stap_DEPENDENCIES = lib-elfutils/libdw.so
staprun_SOURCES = runtime/stpd/stpd.c runtime/stpd/librelay.c runtime/stpd/symbols.c
staprun_CFLAGS = @PROCFLAGS@
-staprun_LDADD = -lpthread
+staprun_LDADD = @PROCFLAGS@ -lpthread
pkglibexec_SCRIPTS = stp_check
loc2c_test_SOURCES = loc2c-test.c loc2c.c
loc2c_test_CPPFLAGS = $(stap_CPPFLAGS)