<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>7540</bug_id>
          
          <creation_ts>2002-09-05 11:20 0000</creation_ts>
          <short_desc>unzip isn&apos;t built with correct CFLAGS</short_desc>
          <delta_ts>2003-02-04 19:42:18 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P3</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>rob1@rekl.yi.org</reporter>
          <assigned_to>bug-wranglers@gentoo.org</assigned_to>
          <cc>kevin@aptbasilicata.it</cc>

      

      
          <long_desc isprivate="0">
            <who>rob1@rekl.yi.org</who>
            <bug_when>2002-09-05 11:20:17 0000</bug_when>
            <thetext>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 &quot;-O3&quot; in the Makefile to $CFLAGS

This doesn&apos;t work correctly for non-x86 builds, since the linux_noasm Makefile
target doesn&apos;t have &quot;-O3&quot;

Also, the ebuild doesn&apos;t work correctly for x86, since the ARCH variable is
defined as &quot;x86&quot;, but the ebuild file has &quot;case $ARCH in i?.86)&quot;, which doesn&apos;t
mach &quot;x86&quot;, then it defaults to the build target &quot;linux_noasm&quot;, which doesn&apos;t
work correctly (above).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>seemant@gentoo.org</who>
            <bug_when>2002-09-05 16:29:07 0000</bug_when>
            <thetext>the architecture check has been adjusted to work now.

thanks for catching that!</thetext>
          </long_desc>
      
    </bug>

</bugzilla>