Bug 158863 - Line removing -fno-rtti and -fno-exceptions in gcc4.spec has no effect
Summary: Line removing -fno-rtti and -fno-exceptions in gcc4.spec has no effect
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-05-26 12:24 UTC by Robin Green
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-05-26 12:52:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Robin Green 2005-05-26 12:24:17 UTC
Description of problem:
The following line in gcc4.spec has no effect:

OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-fno-rtti//g' -e 's/-fno-exceptions//g'`

because it is immediately followed by this line:

OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/\(-Wp,\)\?-D_FORTIFY_SOURCE=[12]//g'`

which throws away the old value of $OPT_FLAGS. The line should be removed (if
unneeded) or corrected (if needed).

Version-Release number of selected component (if applicable):
gcc-4.0.0-8

Comment 1 Jakub Jelinek 2005-05-26 12:52:19 UTC
The first line is not needed, I have removed it from CVS so that it doesn't
confuse.  Will show up in the next build, but as it is actually not any bug,
might not make into FC4 release.


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