diff --git a/macros b/macros index 7cbe282..18c61b5 100644 --- a/macros +++ b/macros @@ -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 -D_FORTIFY_SOURCE=2 +%__global_cflags -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec index a0a1165..e7f3f95 100644 --- a/redhat-rpm-config.spec +++ b/redhat-rpm-config.spec @@ -1,6 +1,6 @@ Summary: Red Hat specific rpm configuration files. Name: redhat-rpm-config -Version: 8.0.32 +Version: 8.0.33 Release: 1 License: GPL Group: Development/System @@ -9,7 +9,6 @@ BuildArch: noarch #Requires: rpmbuild(VendorConfig) <= 4.1 #Requires: mktemp BuildRoot: %{_tmppath}/%{name}-root - # rpmrc passes -mtune which first appeared in gcc 3.4 %ifarch i386 i686 sparc Conflicts: gcc < 3.4 @@ -36,7 +35,8 @@ rm -rf ${RPM_BUILD_ROOT} %{_prefix}/lib/rpm/redhat %changelog -* Mon Nov 15 2004 Elliot Lee 8.0.33-1 +* Wed Feb 9 2005 Elliot Lee 8.0.33-1 +- Change -D to -Wp,-D to make java happy - Add -D_FORTIFY_SOURCE=2 to global cflags (as per Jakub & Arjan's request) * Fri Oct 1 2004 Bill Nottingham 8.0.32-1