Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7540 - unzip isn't built with correct CFLAGS
Summary: unzip isn't built with correct CFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-05 11:20 UTC by robert longhausen
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description robert longhausen 2002-09-05 11:20:17 UTC
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 Seemant Kulleen (RETIRED) gentoo-dev 2002-09-05 16:29:07 UTC
the architecture check has been adjusted to work now.

thanks for catching that!