Jeremy Huntwork wrote:
Please forgive me if I'm missing something here, but I'm not quite sure I'm seeing how this could work.

# grep -c "XCFLAGS" Makefile.in
0

Apologies on the above - of course this is down to my failing. My eyes missed the "gcc", so I ran grep on Makefile.in and not gcc/Makefile.in

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...

--
JH
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to