Disable JVMTI for perf (rhbz 1410296)
perf introduced for profiling with JVMTI. Unfortunately, this introduces a dependnecy on java to the build process. We really really don't want this so set NO_JVMTI for now.
This commit is contained in:
parent
274bb77441
commit
eb69f22dd8
@ -1646,7 +1646,7 @@ BuildKernel %make_target %kernel_image
|
||||
%endif
|
||||
|
||||
%global perf_make \
|
||||
make -s EXTRA_CFLAGS="${RPM_OPT_FLAGS}" LDFLAGS="%{__global_ldflags}" %{?cross_opts} -C tools/perf V=1 NO_PERF_READ_VDSO32=1 NO_PERF_READ_VDSOX32=1 WERROR=0 NO_LIBUNWIND=1 HAVE_CPLUS_DEMANGLE=1 NO_GTK2=1 NO_STRLCPY=1 NO_BIONIC=1 prefix=%{_prefix}
|
||||
make -s EXTRA_CFLAGS="${RPM_OPT_FLAGS}" LDFLAGS="%{__global_ldflags}" %{?cross_opts} -C tools/perf V=1 NO_PERF_READ_VDSO32=1 NO_PERF_READ_VDSOX32=1 WERROR=0 NO_LIBUNWIND=1 HAVE_CPLUS_DEMANGLE=1 NO_GTK2=1 NO_STRLCPY=1 NO_BIONIC=1 NO_JVMTI=1 prefix=%{_prefix}
|
||||
%if %{with_perf}
|
||||
# perf
|
||||
# make sure check-headers.sh is executable
|
||||
@ -2152,6 +2152,9 @@ fi
|
||||
#
|
||||
#
|
||||
%changelog
|
||||
* Fri Jan 06 2017 Laura Abbott <labbott@fedoraproject.org>
|
||||
- Disable JVMTI for perf (rhbz 1410296)
|
||||
|
||||
* Fri Jan 06 2017 Justin M. Forbes <jforbes@fedoraproject.org> - 4.10.0-0.rc2.git4.1
|
||||
- Linux v4.10-rc2-207-g88ba6ca
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user