From d4fff522deea407041a5eb93790095c92c7872eb Mon Sep 17 00:00:00 2001 From: Warren Togami Date: Thu, 19 May 2005 20:59:02 +0000 Subject: [PATCH] Disable gcc optimization to workaround broken placeholders (#156840) --- perl-DBD-Pg.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/perl-DBD-Pg.spec b/perl-DBD-Pg.spec index f79b493..5878323 100644 --- a/perl-DBD-Pg.spec +++ b/perl-DBD-Pg.spec @@ -1,6 +1,6 @@ Name: perl-DBD-Pg Version: 1.41 -Release: 1 +Release: 2 Summary: A PostgresSQL interface for perl Group: Development/Libraries @@ -25,7 +25,11 @@ An implementation of DBI for PostgreSQL for Perl. %build CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS" +# XXX: Temporary Workaround (#156840) +# gcc4 breaks it with optimization +#make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS" +make %{?_smp_mflags} \ + OPTIMIZE="`echo $RPM_OPT_FLAGS | sed s/O2/O0/`" %install rm -rf $RPM_BUILD_ROOT @@ -54,6 +58,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu May 19 2005 Warren Togami - 1.41-2 +- Disable gcc optimization to workaround broken placeholders (#156840) + * Wed Apr 13 2005 Jose Pedro Oliveira - 1.41-1 - Update to 1.41. - Updated the requirements versions.