diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2021-05-18 11:56:05 +0200 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2021-05-18 11:56:05 +0200 |
commit | 5116b54e4644cb0d7b99891c76f8f015097f6530 (patch) | |
tree | 2d2b39a3bc8e1c5ccc7ad2f15f4a352c06e51cc4 /gcc/cp/class.c | |
parent | e1cca88019ab1208f8389606dd18a25cd50c20e1 (diff) | |
download | gcc-5116b54e4644cb0d7b99891c76f8f015097f6530.zip gcc-5116b54e4644cb0d7b99891c76f8f015097f6530.tar.gz gcc-5116b54e4644cb0d7b99891c76f8f015097f6530.tar.bz2 |
gcc/configure.ac: Fix cross build by using $(CFLAGS-$@) [PR100598]
BUILD_CFLAGS is set by configure; by default, BUILD_CFLAGS = $(ALL_CFLAGS)
is used. The latter contains (see gcc/Makefile.in) $(CFLAGS-$@), which is used
to pass .o-file specific flags to the compiler.
For cross builds, BUILD_CFLAGS is constructed in configure{,.ac} and missed
the $(CFLAGS-$@) - despite the comment above ALL_CFLAGS that configure.ac
might have to kept in sync.
gcc/ChangeLog:
PR other/100598
* configure: Regenerate.
* configure.ac (BUILD_CFLAG, BUILD_CXXFLAGS): Add $(CFLAGS-$@).
Diffstat (limited to 'gcc/cp/class.c')
0 files changed, 0 insertions, 0 deletions