Bug 133650

Summary: libtiff is not using RPM_OPT_FLAGS for CFLAGS
Product: [Fedora] Fedora Reporter: Brian Stein <bstein>
Component: libtiffAssignee: Brian Stein <bstein>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: bstevens, mgarski
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 3.6.1-4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-01 12:47:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 133398    

Description Arjan van de Ven 2004-09-25 17:52:23 UTC
Description of problem:

libtiff is not using the RPM_OPT_FLAGS for the CFLAGS and is thus not
tuned for i686 but only for i386

Comment 1 Michael Schwendt 2004-09-27 18:47:16 UTC
--- libtiff.spec.orig   2004-06-15 16:39:33.000000000 +0200
+++ libtiff.spec        2004-09-27 20:48:53.022642496 +0200
@@ -71,7 +71,7 @@
 ln -s libtiff.so.%{LIBVER} libtiff.so
 cd ..
 export LDOPTS=-s
-make LIBJPEG="-L%{_libdir} -ljpeg" LIBGZ="-L%{_libdir} -lz"
%{?_smp_mflags}
+make OPTIMIZER="${RPM_OPT_FLAGS}" LIBJPEG="-L%{_libdir} -ljpeg"
LIBGZ="-L%{_libdir} -lz" %{?_smp_mflags}
 
 %install
 [ "$RPM_BUILD_DIR" ] && rm -fr $RPM_BUILD_ROOT

Comment 2 Rik van Riel 2004-09-27 19:24:23 UTC
Patch applied and a new package is building.  Thank you, Michael.

Comment 3 Marcin Garski 2004-10-01 12:47:41 UTC
Verified - looks fine in current versions.