Bug 103970 - spec file ignores --target for rpmbuild
Summary: spec file ignores --target for rpmbuild
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: rhpl
Version: 1.0
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-09-08 15:53 UTC by Michael Lee Yohe
Modified: 2007-04-18 16:57 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-11-04 15:37:07 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.