On 2020-08-16 02:27 +0100, Ken Moffat via blfs-support:

> Playing with CFLAGS does not always do what you expect (it depends
> on the individual packages as to whether you need to take special
> action to force your own CFLAGS, and trying to detune released
> packages seems like a bad idea.  For the little it is worth, I did
> some experiments just over a year ago with the aim of forcing my own
> CFLAGS, CXXFLAGS and exploring some of the options.  The results
> (basically one run of each variation, but with some upgrades along
> the way) were mostly inconclusive but somewhere in there are details
> of what I had to do to the packages I build to get them to obey my
> CFLAGS (or in some cases, to not use my optimization of -O2 or -O3)
> because some default to -O3 but will detune to -O2 if you pass that,
> and one some of my less-powerful machines I do generally use -O2.
> 
> But the problem was in nss.  I do not regard that as a large
> package, although it is a slow one when built using -j1.
> AFAICS building nss-3.55 less than 300 MB which should be trivial.

Current version of NSS can be built with -jN.  But I can tell that the test
suite just fails with -O3.
-- 
Xi Ruoyao <xry...@mengyan1223.wang>
School of Aerospace Science and Technology, Xidian University

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to