Jeremy Huntwork wrote: >> In any case, what would be the difference between what you're trying to >> accomplish with a sed and the results of something like: >> >> make CFLAGS="-g -O2 -fomit-frame-pointer" > > Still curious about the difference of the sed vs. the above command...
Yes, that was how I solved it at first. Until I realized that more stuff was getting compiled with `-fomit-frame-pointer' than necessary. In my experience so far, that sed is the best way to achieve byte-for-byte identical GCC installations ie: `make' vs `make bootstrap' Another data point - In general terms, LFS prefers not to futz with CFLAGS. I suppose the sed sorta helps out in that regard. Regards Greg -- http://www.diy-linux.org/ -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page