summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorPekka Seppänen <pexu@gcc.mail.kapsi.fi>2021-12-02 15:58:49 -0500
committerJeff Law <jeffreyalaw@gmail.com>2021-12-02 15:59:37 -0500
commitc841dc0a4dd944cf8f76f414a286aedff1e38dce (patch)
tree148d2e18126b95a20bf324b8f5a6f97983f90843 /configure.ac
parent[PATCH v2] configure: define TARGET_LIBC_GNUSTACK on musl (diff)
downloadgcc-c841dc0a4dd944cf8f76f414a286aedff1e38dce.tar.gz
gcc-c841dc0a4dd944cf8f76f414a286aedff1e38dce.tar.bz2
gcc-c841dc0a4dd944cf8f76f414a286aedff1e38dce.tar.xz
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).
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 2de381fe863..4ab9e34cc08 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1334,7 +1334,7 @@ if test "${build}" != "${host}" ; then
1334 AR_FOR_BUILD=${AR_FOR_BUILD-ar} 1334 AR_FOR_BUILD=${AR_FOR_BUILD-ar}
1335 AS_FOR_BUILD=${AS_FOR_BUILD-as} 1335 AS_FOR_BUILD=${AS_FOR_BUILD-as}
1336 CC_FOR_BUILD=${CC_FOR_BUILD-gcc} 1336 CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
1337 CPP_FOR_BUILD="${CPP_FOR_BUILD-\$(CPP)}" 1337 CPP_FOR_BUILD="${CPP_FOR_BUILD-\$(CC_FOR_BUILD) -E}"
1338 CXX_FOR_BUILD=${CXX_FOR_BUILD-g++} 1338 CXX_FOR_BUILD=${CXX_FOR_BUILD-g++}
1339 DSYMUTIL_FOR_BUILD=${DSYMUTIL_FOR_BUILD-dsymutil} 1339 DSYMUTIL_FOR_BUILD=${DSYMUTIL_FOR_BUILD-dsymutil}
1340 GFORTRAN_FOR_BUILD=${GFORTRAN_FOR_BUILD-gfortran} 1340 GFORTRAN_FOR_BUILD=${GFORTRAN_FOR_BUILD-gfortran}