]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
perf tests: Fix static build test
authorJiri Olsa <jolsa@redhat.com>
Thu, 5 Sep 2019 09:09:24 +0000 (11:09 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 20 Sep 2019 17:37:28 +0000 (14:37 -0300)
Disable the potentional shared library features, which breaks static
build if they are enabled and detected: jvmti and vdso libraries.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/20190905090924.GA1949@krava
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/make

index 6b3afed5d91062bd52beacf7eea172bce46f04b5..c850d1664c5664f1e94f06ccd28aa69dc39c9dbc 100644 (file)
@@ -100,7 +100,7 @@ make_install_info   := install-info
 make_install_pdf    := install-pdf
 make_install_prefix       := install prefix=/tmp/krava
 make_install_prefix_slash := install prefix=/tmp/krava/
-make_static         := LDFLAGS=-static
+make_static         := LDFLAGS=-static NO_PERF_READ_VDSO32=1 NO_PERF_READ_VDSOX32=1 NO_JVMTI=1
 
 # all the NO_* variable combined
 make_minimal        := NO_LIBPERL=1 NO_LIBPYTHON=1 NO_NEWT=1 NO_GTK2=1