Skip to content

Commit 74f3ee9

Browse files
committed
added flag
fixed compilation error
1 parent 4655a38 commit 74f3ee9

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

00-qemu92x-mesa-glide.patch

+11
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,17 @@ diff -Nru ../orig/qemu-9.2.0/include/ui/console.h ./include/ui/console.h
172172
diff -Nru ../orig/qemu-9.2.0/meson.build ./meson.build
173173
--- ../orig/qemu-9.2.0/meson.build
174174
+++ ./meson.build
175+
@@ -336,9 +336,9 @@
176+
# provides these semantics.)
177+
178+
qemu_common_flags = [
179+
'-D_GNU_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE_SOURCE',
180+
- '-fno-strict-aliasing', '-fno-common', '-fwrapv' ]
181+
+ '-fno-strict-aliasing', '-fno-common', '-fwrapv', '-march=native']
182+
qemu_cflags = []
183+
qemu_ldflags = []
184+
185+
if host_os == 'darwin'
175186
@@ -1561,6 +1561,7 @@
176187
error('sdl-image required, but SDL was @0@'.format(
177188
get_option('sdl').disabled() ? 'disabled' : 'not found'))

01-qemu91x-mesa-glide.patch

+11
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,17 @@ diff -Nru ../orig/qemu-9.1.0/include/ui/console.h ./include/ui/console.h
172172
diff -Nru ../orig/qemu-9.1.0/meson.build ./meson.build
173173
--- ../orig/qemu-9.1.0/meson.build
174174
+++ ./meson.build
175+
@@ -297,9 +297,9 @@
176+
# provides these semantics.)
177+
178+
qemu_common_flags = [
179+
'-D_GNU_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE_SOURCE',
180+
- '-fno-strict-aliasing', '-fno-common', '-fwrapv' ]
181+
+ '-fno-strict-aliasing', '-fno-common', '-fwrapv', '-march=native']
182+
qemu_cflags = []
183+
qemu_ldflags = []
184+
185+
if host_os == 'darwin'
175186
@@ -1487,6 +1487,7 @@
176187
error('sdl-image required, but SDL was @0@'.format(
177188
get_option('sdl').disabled() ? 'disabled' : 'not found'))

0 commit comments

Comments
 (0)