From f1baeaa3a376a189be756e5c749e62e510d92030 Mon Sep 17 00:00:00 2001 From: Björn Esser Date: Dec 20 2022 09:54:53 +0000 Subject: Fix build with annotations disabled. --- diff --git a/annobin.spec b/annobin.spec index 870cc90..1429279 100644 --- a/annobin.spec +++ b/annobin.spec @@ -397,7 +397,7 @@ make -C gcc-plugin clean BUILD_FLAGS="-fplugin=%{_tmppath}/tmp_annobin.so" # Disable the standard annobin plugin so that we do get conflicts. -OPTS="$(rpm --eval '%undefine _annotated_build %build_cflags %build_ldflags')" +OPTS="$(rpm --undefine=_annotated_build --eval '%build_cflags %build_ldflags')" # If building on systems with an assembler that does not support the # .attach_to_group pseudo op (eg RHEL-7) then enable the next line.