aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorEduardo Habkost <[email protected]>2018-10-05 20:40:58 +0000
committerArnaldo Carvalho de Melo <[email protected]>2018-10-08 17:30:45 +0000
commit8b2f245faa6238e28a1d801e8633515251d1acfc (patch)
treea10f1c137ce8d6ead5e4f24e6e5050f4c5d0b4a2 /arch/powerpc/lib/code-patching.c
parentperf python: Make clang_has_option() work on Python 3 (diff)
downloadkernel-8b2f245faa6238e28a1d801e8633515251d1acfc.tar.gz
kernel-8b2f245faa6238e28a1d801e8633515251d1acfc.zip
perf python: More portable way to make CFLAGS work with clang
The existing code that tries to make CFLAGS compatible with clang doesn't work with Python 3. Instead of trying to touch _sysconfigdata.build_time_vars directly, change the dictionary returned by disutils.sysconfig.get_config_vars(). This works on both Python 2 and Python 3. Signed-off-by: Eduardo Habkost <[email protected]> Reported-by: Arnaldo Carvalho de Melo <[email protected]> Tested-by: Arnaldo Carvalho de Melo <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wang Nan <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions