diff --git a/open-iscsi.changes b/open-iscsi.changes index efa4dee..42e182a 100644 --- a/open-iscsi.changes +++ b/open-iscsi.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Feb 25 01:32:02 UTC 2023 - Lee Duncan + +- Build system: meson builds were ignoring optflags, and other + passed in compiler options. + ------------------------------------------------------------------- Wed Dec 21 22:47:05 UTC 2022 - Lee Duncan diff --git a/open-iscsi.spec b/open-iscsi.spec index 685917d..f329ecf 100644 --- a/open-iscsi.spec +++ b/open-iscsi.spec @@ -1,7 +1,7 @@ # # spec file for package open-iscsi # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -148,7 +148,7 @@ the libopeniscsiusr library. %build [ -z "$SOURCE_DATE_EPOCH" ] || export KBUILD_BUILD_TIMESTAMP=@$SOURCE_DATE_EPOCH %meson --libdir=%{_libdir} \ - -Dc_flags="%{optflags} -fno-strict-aliasing -fno-common -DOFFLOAD_BOOT_SUPPORTED" \ + -Dc_args="%{optflags} -fno-strict-aliasing -fno-common -DOFFLOAD_BOOT_SUPPORTED" \ -Discsi_sbindir=%{_iscsi_sbindir} -Ddbroot=%{_dbroot} -Drulesdir=%{_udevrulesdir} -Dlockdir=%{_lockdir} \ -Dinstall_dbdir_move_readme=%{_install_dbdir_move_readme_value} \ --strip