mirror of
https://abf.rosa.ru/djam/kernel.git
synced 2025-02-23 16:22:51 +00:00

See the commits 05a8c4904699..16da528365de in https://abf.io/kernels_stable/kernel-4.6. Hightlights: * New build model: everything in a single project. * PAE by default on i586. No non-PAE flavours remain. * SELinux is now built in (disabled by default). * Dropped ndiswrapper (can be built separately if it is really needed).
20 lines
775 B
Diff
20 lines
775 B
Diff
--- linux-3.14/tools/perf/util/setup.py 2014-07-11 18:40:34.927029845 +0400
|
|
+++ linux-3.14/tools/perf/util/setup.py.new 2014-07-11 18:38:50.000000000 +0400
|
|
@@ -22,6 +22,9 @@ cflags = getenv('CFLAGS', '').split()
|
|
# switch off several checks (need to be at the end of cflags list)
|
|
cflags += ['-fno-strict-aliasing', '-Wno-write-strings', '-Wno-unused-parameter' ]
|
|
|
|
+libs = getenv('LIBS', '').split()
|
|
+libs += ['dl']
|
|
+
|
|
build_lib = getenv('PYTHON_EXTBUILD_LIB')
|
|
build_tmp = getenv('PYTHON_EXTBUILD_TMP')
|
|
libtraceevent = getenv('LIBTRACEEVENT')
|
|
@@ -35,6 +38,7 @@ perf = Extension('perf',
|
|
include_dirs = ['util/include'],
|
|
extra_compile_args = cflags,
|
|
extra_objects = [libtraceevent, libapikfs],
|
|
+ libraries = libs,
|
|
)
|
|
|
|
setup(name='perf',
|