This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Toplevel PR 30753 - Fix non-native builds



Yes, but please leave the CFLAGS=${CFLAGS-"-g"} because I know that some people prefer to have it.

What's it for and where does it belong? It can't possibly have anything to do with the ${build} = ${host} test, I don't think.

It's because the toplevel's default for CFLAGS is -g, which is later overridden to "-g -O2" when bootstrapping. If I had to quote by memory, I would have said indeed that it belonged more to host = target than to build = host.


If you really want to scrap it, go for it -- but be prepared that someone complains.

The other remark, that the LD test must go after AC_PROG_CC, of course still holds.

Paolo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]