add _FORTIFY_SOURCE

This commit is contained in:
Elliot Lee 2004-11-15 15:23:30 +00:00
parent 84b567815c
commit d10e27e7b7
2 changed files with 4 additions and 1 deletions

2
macros
View File

@ -151,4 +151,4 @@ unset DISPLAY\
%__find_provides /usr/lib/rpm/redhat/find-provides
%__find_requires /usr/lib/rpm/redhat/find-requires
%__global_cflags -O2 -g -pipe
%__global_cflags -O2 -g -pipe -D_FORTIFY_SOURCE=2

View File

@ -31,6 +31,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_prefix}/lib/rpm/redhat
%changelog
* Mon Nov 15 2004 Elliot Lee <sopwith@redhat.com> 8.0.33-1
- Add -D_FORTIFY_SOURCE=2 to global cflags (as per Jakub & Arjan's request)
* Fri Oct 1 2004 Bill Nottingham <notting@redhat.com> 8.0.32-1
- allow all symbol versioning in find_requires - matches RPM internal
behavior