--- a/macros.d/macros.rust	2023-02-13 19:18:44.000000000 +0600
+++ b/macros.d/macros.rust	2023-08-31 13:03:23.633241913 +0600
@@ -41,10 +41,8 @@
   -Copt-level=%rustflags_opt_level
   -Cdebuginfo=%rustflags_debuginfo
   -Ccodegen-units=%rustflags_codegen_units
-  %{expr:0%{?_include_frame_pointers} && ("%{_arch}" != "ppc64le" && "%{_arch}" != "s390x" && "%{_arch}" != "i386") ? "-Cforce-frame-pointers=yes" : ""}
   -Clink-arg=-Wl,-z,relro
   -Clink-arg=-Wl,-z,now
-  %[0%{?_package_note_status} ? "-Clink-arg=%_package_note_flags" : ""]
   --cap-lints=warn
 }
 
