Dominique Leuenberger 2023-02-27 11:54:48 +00:00 committed by Git OBS Bridge
commit c84f0be8b6
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Feb 25 01:32:02 UTC 2023 - Lee Duncan <lduncan@suse.com>
- Build system: meson builds were ignoring optflags, and other
passed in compiler options.
-------------------------------------------------------------------
Wed Dec 21 22:47:05 UTC 2022 - Lee Duncan <lduncan@suse.com>

View File

@ -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