diff --git a/kernel.spec b/kernel.spec index a87bcef..08e7e0a 100644 --- a/kernel.spec +++ b/kernel.spec @@ -164,10 +164,6 @@ Patch1: https://cdn.kernel.org/pub/linux/kernel/v%{kernelversion}.x/patch-%{k # ROSA-specific patches -# Adds explicit linking of the Perf Python extension with libdl, thus fixing -# the build. -Patch100: perf-python-ext-link-with-dl.patch - # Perf docs are built after all the kernels. To validate the xml files # generated during that process, xmlto tries to get DTD files from the Net. # If it fails, the whole build fails, which is unfortunate. Let us avoid diff --git a/perf-python-ext-link-with-dl.patch b/perf-python-ext-link-with-dl.patch deleted file mode 100644 index 64b7bb8..0000000 --- a/perf-python-ext-link-with-dl.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/tools/perf/util/setup.py b/tools/perf/util/setup.py -index 001be4f9d3b9..b49aa54baaad 100644 ---- a/tools/perf/util/setup.py -+++ b/tools/perf/util/setup.py -@@ -31,6 +31,9 @@ cflags += ['-fno-strict-aliasing', '-Wno-write-strings', '-Wno-unused-parameter' - if cc != "clang": - cflags += ['-Wno-cast-function-type' ] - -+libs = getenv('LIBS', '').split() -+libs += ['dl'] -+ - src_perf = getenv('srctree') + '/tools/perf' - build_lib = getenv('PYTHON_EXTBUILD_LIB') - build_tmp = getenv('PYTHON_EXTBUILD_TMP') -@@ -48,6 +51,7 @@ perf = Extension('perf', - include_dirs = ['util/include'], - extra_compile_args = cflags, - extra_objects = [libtraceevent, libapikfs], -+ libraries = libs, - ) - - setup(name='perf',