- remove -D_FORTIFY_SOURCE=2 from CFLAGS, present in RPM_OPT_FLAGS

This commit is contained in:
Jindrich Novy 2005-02-10 06:49:51 +00:00
parent e48e137bca
commit 3d95815c07

View File

@ -1,7 +1,7 @@
Summary: A hexadecimal file viewer and editor. Summary: A hexadecimal file viewer and editor.
Name: hexedit Name: hexedit
Version: 1.2.10 Version: 1.2.10
Release: 2 Release: 3
License: GPL License: GPL
Group: Applications/Editors Group: Applications/Editors
Url: http://merd.net/pixel Url: http://merd.net/pixel
@ -19,8 +19,9 @@ ASCII files and/or view binary files.
%patch -p1 -b .config %patch -p1 -b .config
%build %build
export CFLAGS="$RPM_OPT_FLAGS"
%configure %configure
make CFLAGS="-D_FORTIFY_SOURCE=2 $RPM_OPT_FLAGS" make
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -37,6 +38,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/*/* %{_mandir}/*/*
%changelog %changelog
* Thu Feb 10 2005 Jindrich Novy <jnovy@redhat.com> 1.2.10-3
- remove -D_FORTIFY_SOURCE=2 from CFLAGS, present in RPM_OPT_FLAGS
* Wed Feb 9 2005 Jindrich Novy <jnovy@redhat.com> 1.2.10-2 * Wed Feb 9 2005 Jindrich Novy <jnovy@redhat.com> 1.2.10-2
- rebuilt with -D_FORTIFY_SOURCE=2 - rebuilt with -D_FORTIFY_SOURCE=2