Bug 103970

Summary: spec file ignores --target for rpmbuild
Product: [Retired] Red Hat Raw Hide Reporter: Michael Lee Yohe <michael>
Component: rhplAssignee: Jeremy Katz <katzj>
Status: CLOSED RAWHIDE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-11-04 15:37:07 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:

Description Michael Lee Yohe 2003-09-08 15:53:01 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686) Gecko/20030722 Galeon/1.3.7

Description of problem:
If you specify --target i686:

During the compile process you will notice...

gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC
-I/usr/include/python2.2 -c ethtool.c -o build/temp.linux-i686-2.2/ethtool.o
gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC
-I/usr/include/python2.2 -c iwlib.c -o build/temp.linux-i686-2.2/iwlib.o

Instead you should see -march=i686.

Version-Release number of selected component (if applicable):
rhpl-0.112-1

How reproducible:
Always

Steps to Reproduce:
1. see description

Actual Results:  Ignores --target argument.

Expected Results:  Should respect --target argument.

Additional info:

Comment 1 Jeremy Katz 2003-09-08 22:48:16 UTC
Fixed in CVS (will be in verison > 0.112)

Comment 2 Michael Lee Yohe 2003-11-04 15:37:07 UTC
This is indeed fixed in the later Rawhide versions.