diff --git a/fcoe-utils.spec b/fcoe-utils.spec index f2b36c58af4bd3d01366af4cac661a3488d0380c..329fabc26d6179a3f0277605c367040ce1c3c1c5 100644 --- a/fcoe-utils.spec +++ b/fcoe-utils.spec @@ -1,6 +1,6 @@ Name: fcoe-utils Version: 1.0.34 -Release: 1 +Release: 2 Summary: Fibre Channel over Ethernet utilities License: GPLv2 URL: https://github.com/morbidrsa/fcoe-utils @@ -27,7 +27,7 @@ cp -v %{SOURCE1} quickstart.txt %build %if "%toolchain" == "clang" - CFLAGS="$CFLAGS -Wno-error=format-nonliteral -Wno-error=strncat-size -Wno-error=strict-prototypes" + CFLAGS="$CFLAGS -Wno-error=format-nonliteral -Wno-error=strncat-size -Wno-error=strict-prototypes -O2" %endif ./bootstrap.sh @@ -68,6 +68,9 @@ done %{_mandir}/man8/* %changelog +* Mon Mar 11 2024 jchzhou - 1.0.34-2 +- Fix '_FORTIFY_SOURCE requires compiling with optimization' issue when building w/ clang + * Sat Oct 07 2023 xu_ping <707078654@qq.com> - 1.0.34-1 - Upgrade version to 1.0.34