From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 111c93,3f358dde76e48ef0 X-Google-Attributes: gid111c93,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!newsfeed.gamma.ru!Gamma.RU!news.tele.dk!news.tele.dk!small.news.tele.dk!fi.sn.net!newsfeed2.fi.sn.net!news.song.fi!not-for-mail Newsgroups: comp.os.linux.alpha From: juhana paavola Subject: Re: compiling, optimization References: User-Agent: slrn/0.9.8.1 (Debian) Date: 11 Apr 2006 18:13:01 GMT Message-ID: <443bf1ad$0$7486$9b536df3@news.fv.fi> Organization: FINNET customers NNTP-Posting-Host: addr-82-128-213-112.suomi.net X-Trace: 1144779181 news.fv.fi 7486 82.128.213.112:33731 X-Complaints-To: abuse@news.fv.fi Xref: g2news1.google.com comp.os.linux.alpha:283 On 2006-04-10, Levente wrote: > Hello > > I have a question on the topic of config files and CFLAGS... > ...it can be set on various places: > 1. the softwares own source directory with > "make configure" or poking by hand > 2. in some files in /etc, such as /etc/make.conf... > 3. globally with export CFLAGS=... > > Now, I want to define CFLAGS so that it has higher authority than > anything, kind of like the word of GOD... > - Is there a way to define CFLAGS and other compiler related > flags so they override anything in any file? > - Does the globally defined (env var) CFALGS have higher authority > than the various config files? > - What manual covers this? > > wbr > /levente You can try like this: $ CFLAGS="-O4 -mieee" make -juhana