]> git.ipfire.org Git - thirdparty/gcc.git/commit
Adjust CPP_FOR_BUILD
authorPekka Seppänen <pexu@gcc.mail.kapsi.fi>
Thu, 2 Dec 2021 20:58:49 +0000 (15:58 -0500)
committerJeff Law <jeffreyalaw@gmail.com>
Thu, 2 Dec 2021 20:59:37 +0000 (15:59 -0500)
commitc841dc0a4dd944cf8f76f414a286aedff1e38dce
tree148d2e18126b95a20bf324b8f5a6f97983f90843
parent25abbb9249685c8519d06e1d98cd6803568b6eb7
Adjust CPP_FOR_BUILD

Hi.

CPP/CPPFLAGS were changed by commit 84401ce5fb4ecab55decb472b168100e7593e01f.  That commit uses CPP as a default for CPP_FOR_BUILD.  Unless CPP is defined, GNU make defaults CPP as `$(CC) -E'.  Given the context, this is now incorrect, since CC_FOR_BUILD should be used.

Fixes PR103011.

-- Pekka

gcc/Changelog:

* configure: Regenerate.
* configure.ac: For CPP_FOR_BUILD use $(CC_FOR_BUILD) -E instead of
$(CPP).
configure
configure.ac