Disable gcc optimization to workaround broken placeholders (#156840)
This commit is contained in:
parent
b7d78ac075
commit
d4fff522de
@ -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 <wtogami@redhat.com> - 1.41-2
|
||||
- Disable gcc optimization to workaround broken placeholders (#156840)
|
||||
|
||||
* Wed Apr 13 2005 Jose Pedro Oliveira <jpo@di.uminho.pt> - 1.41-1
|
||||
- Update to 1.41.
|
||||
- Updated the requirements versions.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user