LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-10-2008, 04:54 PM   #1
monohouse
Member
 
Registered: Oct 2004
Distribution: Arch
Posts: 206

Rep: Reputation: 30
global flag override


I need some tips on how to make a global override of some parameters

for example I have a program which after ./configure-ation --without-debug/with-debug=no still appears to compile things with a -g flag, what I was thinking is if it is possible to override that flag with something like "alias -g='-g0'" but since -g is not a command but rather a parameter, I don't know how to get that to work

I have tried to manually modify alot of "Makefile.in" files all over the package(s), but that was not enough and it alote of things still do appear to contain -g as a compiler parameter, I have tried to do "grep -lir "= -g" *" and "grep -lir " -g" *" but there are no results anymore and the flag still appears during the compilation

anyone knows a better solution to permanently and globally get rid of any program trying to compile with debug ?
 
Old 09-11-2008, 09:55 PM   #2
nowshining
Member
 
Registered: Dec 2007
Distribution: Ibex
Posts: 93

Rep: Reputation: 15
remove the ol' source files/folder u unpacked into and re-run the custom configure command on the newly unpacked files (u may have to cd out and backinto the folder to see the files, etc..)
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to share a ZFS file system between a global zone and a non global zone? crisostomo_enrico Solaris / OpenSolaris 7 11-28-2007 08:20 AM
override defines alaios Programming 1 09-14-2005 10:40 AM
do profiles override each other? nightfox02 Linux - Newbie 3 08-21-2003 03:20 PM
how to override Yenta? twolf Linux - Newbie 0 05-20-2003 11:54 PM
icmp_echo_ignore_all override for 1 IP Kostko Linux - Networking 1 03-06-2003 08:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration