]> git.pld-linux.org Git - packages/qemu.git/blame - qemu-cflags.patch
- updated to 8.1.5
[packages/qemu.git] / qemu-cflags.patch
CommitLineData
600acfa5
JB
1--- qemu-8.1.5/meson.build.orig 2024-01-29 19:31:43.000000000 +0100
2+++ qemu-8.1.5/meson.build 2024-05-06 18:19:10.780261171 +0200
3@@ -478,16 +478,6 @@ if 'cpp' in all_languages
4 qemu_cxxflags = ['-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-D__STDC_FORMAT_MACROS'] + qemu_cflags
5 endif
697b0ba8 6
600acfa5
JB
7-# clang does not support glibc + FORTIFY_SOURCE (is it still true?)
8-if get_option('optimization') != '0' and targetos == 'linux'
9- if cc.get_id() == 'gcc'
10- qemu_cflags += ['-U_FORTIFY_SOURCE', '-D_FORTIFY_SOURCE=2']
11- endif
12- if 'cpp' in all_languages and cxx.get_id() == 'gcc'
13- qemu_cxxflags += ['-U_FORTIFY_SOURCE', '-D_FORTIFY_SOURCE=2']
14- endif
15-endif
b5882bc5 16-
600acfa5
JB
17 add_project_arguments(qemu_cflags, native: false, language: 'c')
18 add_project_arguments(cc.get_supported_arguments(warn_flags), native: false, language: 'c')
19 if 'cpp' in all_languages
This page took 0.199082 seconds and 5 git commands to generate.