Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 29th August 2011, 03:25 AM
dasplatypus Offline
Registered User
 
Join Date: Nov 2009
Location: Tacoma, WA
Age: 26
Posts: 6
linuxchrome
optflags not showing correctly when "rpm --rcfile $HOME/.rcfile --eval "%{optflags}"

When playing around with compiling optimized src.rpms, I came across this description of how to pass optflags:
http://docs.fedoraproject.org/en-US/...h20s02s02.html

I created a file ~/.rcfile that contains:
Code:
optflags: i686 -g
When I run :
Code:
rpm --rcfile $HOME/.rcfile --eval "%{optflags}"
the output is always
Code:
-O2 -g -march=pentium3
Am I doing something incorrectly? Is it possible that this could be a bug in rpm/rpmdevtools and/or gcc?

I'm using
gcc 4.5.1-4.fc14
rpm.i686 4.8.1-5.fc14
rpmdevtools 7.10-1.fc14

I'm pretty new to building rpms from source. Any assistance/suggestions would be greatly appreciated. Thanks
-Chris
Reply With Quote
 

Tags
gcc, optflags, rpm, rpmbuild

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nautilus 3: Put the "open parent" and "home" button on the main toolbar alfatal Using Fedora 2 25th July 2011 03:20 PM
"ls" and "cd" treat ".." differently inside symlinked directories bnorman Using Fedora 0 19th June 2008 04:49 PM
HOW TO MOUNT "C" "D" "E" LOCAL HARDDISK PARTITION ketan_hk Using Fedora 6 6th September 2007 01:10 AM
Metacity and "Xlib: extension "SHAPE" missing on display ":0.0". debu_sagii Using Fedora 0 29th August 2007 05:53 PM
Error:visibility arg must be one of "default", "hidden", "protected" or "internal" wangfeng Using Fedora 0 23rd May 2005 04:59 AM


Current GMT-time: 03:21 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat