Bug 7540 - unzip isn't built with correct CFLAGS
Bug#: 7540 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P3
Resolution: FIXED Assigned To: bug-wranglers@gentoo.org Reported By: rob1@rekl.yi.org
Component: Applications
URL: 
Summary: unzip isn't built with correct CFLAGS
Keywords:  
Status Whiteboard: 
Opened: 2002-09-05 11:20 0000
Description:   Opened: 2002-09-05 11:20 0000
In the ebuild file for unzip-5.42-r1, the Makefile is modified to use the
CFLAGS
from make.conf.  It changes all instances of "-O3" in the Makefile to $CFLAGS

This doesn't work correctly for non-x86 builds, since the linux_noasm Makefile
target doesn't have "-O3"

Also, the ebuild doesn't work correctly for x86, since the ARCH variable is
defined as "x86", but the ebuild file has "case $ARCH in i?.86)", which doesn't
mach "x86", then it defaults to the build target "linux_noasm", which doesn't
work correctly (above).

------- Comment #1 From Seemant Kulleen (RETIRED) 2002-09-05 16:29:07 0000 -------
the architecture check has been adjusted to work now.

thanks for catching that!