summaryrefslogtreecommitdiffstats
path: root/buildrun.cxx
diff options
context:
space:
mode:
authorfche <fche>2007-04-26 20:46:55 +0000
committerfche <fche>2007-04-26 20:46:55 +0000
commitee6b2f59ef89bebc608f6514de3dc0de179d96d6 (patch)
tree4ae1817fbc60d780f6b0e546e05adee0374afa77 /buildrun.cxx
parent29aeec07b2bcdcda0fc17f7596154a8080a08cdf (diff)
downloadsystemtap-steved-ee6b2f59ef89bebc608f6514de3dc0de179d96d6.tar.gz
systemtap-steved-ee6b2f59ef89bebc608f6514de3dc0de179d96d6.tar.xz
systemtap-steved-ee6b2f59ef89bebc608f6514de3dc0de179d96d6.zip
2007-04-26 Frank Ch. Eigler <fche@elastic.org>
PR 4432. * buildrun.cxx (compile_pass): Add $(mflags-y) to stap_check_build.
Diffstat (limited to 'buildrun.cxx')
-rw-r--r--buildrun.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildrun.cxx b/buildrun.cxx
index 0ab36434..ec633bab 100644
--- a/buildrun.cxx
+++ b/buildrun.cxx
@@ -42,7 +42,7 @@ compile_pass (systemtap_session& s)
// Clever hacks copied from vmware modules
o << "stap_check_gcc = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; then echo \"$(1)\"; else echo \"$(2)\"; fi)" << endl;
- o << "stap_check_build = $(shell " /*<< "set -x; "*/ << " if $(CC) $(CPPFLAGS) $(CFLAGS_KERNEL) $(EXTRA_CFLAGS) -DKBUILD_BASENAME=\\\"" << s.module_name << "\\\" -Werror -S -o /dev/null -xc $(1) > /dev/null 2>&1; then echo \"$(2)\"; else echo \"$(3)\"; fi)" << endl;
+ o << "stap_check_build = $(shell " /*<< "set -x; "*/ << " if $(CC) $(CPPFLAGS) $(CFLAGS_KERNEL) $(mflags-y) $(EXTRA_CFLAGS) -DKBUILD_BASENAME=\\\"" << s.module_name << "\\\" -Werror -S -o /dev/null -xc $(1) > /dev/null 2>&1; then echo \"$(2)\"; else echo \"$(3)\"; fi)" << endl;
o << "SYSTEMTAP_RUNTIME = \"" << s.runtime_path << "\"" << endl;