Browse Source
Merge pull request #1002 from palmer-dabbelt/glibc-no-cxx
Set CXX to a nonexistant compiler when building glibc
pull/1012/head
2021.12.22
Kito Cheng
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
Makefile.in
|
|
|
@ -327,7 +327,7 @@ endif |
|
|
|
mkdir $(notdir $@) |
|
|
|
cd $(notdir $@) && \
|
|
|
|
CC="$(GLIBC_CC_FOR_TARGET) $($@_CFLAGS)" \
|
|
|
|
CXX="$(GLIBC_CXX_FOR_TARGET) $($@_CFLAGS)" \
|
|
|
|
CXX="this-is-not-the-compiler-youre-looking-for" \
|
|
|
|
CFLAGS="$(CFLAGS_FOR_TARGET) -g -O2 $($@_CFLAGS)" \
|
|
|
|
CXXFLAGS="$(CXXFLAGS_FOR_TARGET) -g -O2 $($@_CFLAGS)" \
|
|
|
|
ASFLAGS="$(ASFLAGS_FOR_TARGET) $($@_CFLAGS)" \
|
|
|
|
|