]> git.draconx.ca Git - gentoo-draconx.git/blobdiff - app-emulation/qemu/files/qemu-1.2.0-cflags.patch
Update qemu ebuilds.
[gentoo-draconx.git] / app-emulation / qemu / files / qemu-1.2.0-cflags.patch
diff --git a/app-emulation/qemu/files/qemu-1.2.0-cflags.patch b/app-emulation/qemu/files/qemu-1.2.0-cflags.patch
new file mode 100644 (file)
index 0000000..9aaa1d6
--- /dev/null
@@ -0,0 +1,15 @@
+don't override user cflags
+
+--- a/configure
++++ b/configure
+@@ -2995,10 +2995,6 @@ fi
+ # End of CC checks
+ # After here, no more $cc or $ld runs
+-if test "$debug" = "no" ; then
+-  CFLAGS="-O2 -D_FORTIFY_SOURCE=2 $CFLAGS"
+-fi
+-
+ # Disable zero malloc errors for official releases unless explicitly told to
+ # enable/disable
+ if test -z "$zero_malloc" ; then