initial import from Debian
version: 14.3.0-5 commit: bee30ab0fff2fd6af94c62376c8aa4221bb831e0
This commit is contained in:
13
debian/patches/gcc-auto-build.diff
vendored
Normal file
13
debian/patches/gcc-auto-build.diff
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
# DP: Fix cross building a native compiler.
|
||||
|
||||
--- a/src/gcc/configure.ac
|
||||
+++ b/src/gcc/configure.ac
|
||||
@@ -2163,7 +2163,7 @@ else
|
||||
# Clearing GMPINC is necessary to prevent host headers being
|
||||
# used by the build compiler. Defining GENERATOR_FILE stops
|
||||
# system.h from including gmp.h.
|
||||
- CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD}" \
|
||||
+ CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD} -DGENERATOR_FILE" \
|
||||
CXX="${CXX_FOR_BUILD}" CXXFLAGS="${CXXFLAGS_FOR_BUILD}" \
|
||||
LD="${LD_FOR_BUILD}" LDFLAGS="${LDFLAGS_FOR_BUILD}" \
|
||||
GMPINC="" CPPFLAGS="${CPPFLAGS_FOR_BUILD} -DGENERATOR_FILE" \
|
Reference in New Issue
Block a user