Version 1.2.1
[fedora-reviews.git] / libblkio / 149.patch
diff --git a/libblkio/149.patch b/libblkio/149.patch
deleted file mode 100644 (file)
index b93651b..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-From c2195221fcec63ee8b6350379fab03b82210e9e3 Mon Sep 17 00:00:00 2001
-From: Stefan Hajnoczi <stefanha@redhat.com>
-Date: Tue, 22 Nov 2022 14:03:17 -0500
-Subject: [PATCH] cargo-build.sh: support optimization=plain
-
-meson 0.64.0 added optimization=plain. It means that no optimization
-flags are explicitly passed to the compiler. This is useful in
-situations where the environment wants to control compiler flags (e.g.
-nix, rpm, etc), typically via CFLAGS, CXXFLAGS, etc.
-
-Make sure to handle optimization=plain so that cargo-build.sh doesn't
-exit early.
-
-Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
----
- src/cargo-build.sh | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/src/cargo-build.sh b/src/cargo-build.sh
-index 2ad5463..9879d44 100755
---- a/src/cargo-build.sh
-+++ b/src/cargo-build.sh
-@@ -16,6 +16,11 @@ case "${meson_debug}" in
- esac
- case "${meson_optimization}" in
-+    plain)
-+        # A release build without explicit optimization flags
-+        profile=release
-+        args+=( --release )
-+        ;;
-     0)
-         profile=debug
-         rustflags+=( -C opt-level=0 )
--- 
-GitLab
-