@@ -12,7 +12,7 @@ index df90720..c7df202 100755
1212 powerpc-*-eabisim* | \
1313diff --git gcc-host-workdir/gcc/config/vinix.h gcc-host-workdir/gcc/config/vinix.h
1414new file mode 100644
15- index 0000000..c7cdde2
15+ index 0000000..5420098
1616--- /dev/null
1717+++ gcc-host-workdir/gcc/config/vinix.h
1818@@ -0,0 +1,29 @@
@@ -45,13 +45,26 @@ index 0000000..c7cdde2
4545+ builtin_assert ("system=unix"); \
4646+ builtin_assert ("system=posix"); \
4747+ } while (0);
48+ diff --git gcc-host-clean/gcc/config.build gcc-host-workdir/gcc/config.build
49+ index b748b33..afbdde0 100644
50+ --- gcc-host-clean/gcc/config.build
51+ +++ gcc-host-workdir/gcc/config.build
52+ @@ -45,7 +45,7 @@
53+ build_xm_file=
54+ build_xm_defines=
55+ build_exeext=
56+ - build_install_headers_dir=install-headers-tar
57+ + build_install_headers_dir=install-headers-cp
58+ build_file_translate=
59+
60+ # System-specific settings.
4861diff --git gcc-host-clean/gcc/config.gcc gcc-host-workdir/gcc/config.gcc
49- index 648b3dc..a8c6b3d 100644
62+ index 95c91ee..dd17677 100644
5063--- gcc-host-clean/gcc/config.gcc
5164+++ gcc-host-workdir/gcc/config.gcc
52- @@ -840 ,6 +840 ,15 @@ case ${target} in
53- tmake_file ="${tmake_file} t- freebsd"
54- target_has_targetdm =yes
65+ @@ -878 ,6 +878 ,15 @@ case ${target} in
66+ rust_target_objs ="${rust_target_objs} freebsd-rust.o "
67+ target_has_targetrustm =yes
5568 ;;
5669+ *-*-*-mlibc)
5770+ extra_options="$extra_options gnu-user.opt"
@@ -64,8 +77,8 @@ index 648b3dc..a8c6b3d 100644
6477+ ;;
6578 *-*-fuchsia*)
6679 native_system_header_dir=/include
67- ;;
68- @@ -2214 ,6 +2223 ,9 @@ i[34567]86-*-mingw* | x86_64-*-mingw*)
80+ tmake_file="t-fuchsia"
81+ @@ -2284 ,6 +2293 ,9 @@ i[34567]86-*-mingw* | x86_64-*-mingw*)
6982 ;;
7083 esac
7184 ;;
@@ -75,11 +88,37 @@ index 648b3dc..a8c6b3d 100644
7588 x86_64-*-fuchsia*)
7689 tmake_file="${tmake_file} i386/t-x86_64-elf"
7790 tm_file="${tm_file} i386/unix.h i386/att.h elfos.h newlib-stdint.h i386/i386elf.h i386/x86-64.h fuchsia.h"
91+ diff --git gcc-host-clean/libcpp/Makefile.in gcc-host-workdir/libcpp/Makefile.in
92+ index ebbca37..ea97ba4 100644
93+ --- gcc-host-clean/libcpp/Makefile.in
94+ +++ gcc-host-workdir/libcpp/Makefile.in
95+ @@ -32,10 +32,10 @@ AUTOCONF = @AUTOCONF@
96+ AUTOHEADER = @AUTOHEADER@
97+ CATALOGS = $(patsubst %,po/%,@CATALOGS@)
98+ CC = @CC@
99+ - CFLAGS = @CFLAGS@
100+ + override CFLAGS := @CFLAGS@
101+ WARN_CFLAGS = @warn@ @c_warn@ @WARN_PEDANTIC@ @WERROR@
102+ CXX = @CXX@
103+ - CXXFLAGS = @CXXFLAGS@
104+ + override CXXFLAGS := @CXXFLAGS@
105+ WARN_CXXFLAGS = @warn@ @WARN_PEDANTIC@ @WERROR@
106+ CPP = @CPP@
107+ CPPFLAGS = @CPPFLAGS@
108+ @@ -45,7 +45,7 @@ INCINTL = @INCINTL@
109+ INSTALL_DATA = @INSTALL_DATA@
110+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
111+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
112+ - LDFLAGS = @LDFLAGS@
113+ + override LDFLAGS := @LDFLAGS@
114+ LIBICONV = @LIBICONV@
115+ LIBINTL = @LIBINTL@
116+ PACKAGE = @PACKAGE@
78117diff --git gcc-host-clean/libgcc/config.host gcc-host-workdir/libgcc/config.host
79- index 9d72120..b2162ac 100644
118+ index e75a7af..4d61f58 100644
80119--- gcc-host-clean/libgcc/config.host
81120+++ gcc-host-workdir/libgcc/config.host
82- @@ -281 ,6 +281 ,11 @@ case ${host} in
121+ @@ -304 ,6 +304 ,11 @@ case ${host} in
83122 tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip t-slibgcc t-slibgcc-fuchsia"
84123 extra_parts="crtbegin.o crtend.o"
85124 ;;
@@ -91,7 +130,7 @@ index 9d72120..b2162ac 100644
91130 *-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu | *-*-uclinuxfdpiceabi)
92131 tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver t-linux"
93132 extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
94- @@ -715 ,6 +720 ,10 @@ x86_64-*-elf* | x86_64-*-rtems*)
133+ @@ -752 ,6 +757 ,10 @@ x86_64-*-elf* | x86_64-*-rtems*)
95134 x86_64-*-fuchsia*)
96135 tmake_file="$tmake_file t-libgcc-pic"
97136 ;;
@@ -103,7 +142,7 @@ index 9d72120..b2162ac 100644
103142 tmake_file="${tmake_file} i386/t-dragonfly i386/t-crtstuff"
104143 md_unwind_header=i386/dragonfly-unwind.h
105144diff --git gcc-host-clean/libgcc/configure.ac gcc-host-workdir/libgcc/configure.ac
106- index 2fc9d5d..83d246e 100644
145+ index 4e8c036..d298fe5 100644
107146--- gcc-host-clean/libgcc/configure.ac
108147+++ gcc-host-workdir/libgcc/configure.ac
109148@@ -46,7 +46,7 @@ else
@@ -116,7 +155,7 @@ index 2fc9d5d..83d246e 100644
116155
117156 AC_ARG_ENABLE(shared,
118157diff --git gcc-host-clean/libiberty/configure.ac gcc-host-workdir/libiberty/configure.ac
119- index 28d996f..61ff752 100644
158+ index 0888e63..10161a1 100644
120159--- gcc-host-clean/libiberty/configure.ac
121160+++ gcc-host-workdir/libiberty/configure.ac
122161@@ -37,7 +37,7 @@ else
@@ -151,29 +190,3 @@ index b3269cb..f2d4d13 100644
151190 *-fuchsia*)
152191 SECTION_FLAGS='-ffunction-sections -fdata-sections'
153192 AC_SUBST(SECTION_FLAGS)
154- diff --git gcc-host-clean/libcpp/Makefile.in gcc-host-workdir/libcpp/Makefile.in
155- index ebbca37..ea97ba4 100644
156- --- gcc-clean/libcpp/Makefile.in
157- +++ gcc-workdir/libcpp/Makefile.in
158- @@ -32,10 +32,10 @@ AUTOCONF = @AUTOCONF@
159- AUTOHEADER = @AUTOHEADER@
160- CATALOGS = $(patsubst %,po/%,@CATALOGS@)
161- CC = @CC@
162- - CFLAGS = @CFLAGS@
163- + override CFLAGS := @CFLAGS@
164- WARN_CFLAGS = @warn@ @c_warn@ @WARN_PEDANTIC@ @WERROR@
165- CXX = @CXX@
166- - CXXFLAGS = @CXXFLAGS@
167- + override CXXFLAGS := @CXXFLAGS@
168- WARN_CXXFLAGS = @warn@ @WARN_PEDANTIC@ @WERROR@
169- CPP = @CPP@
170- CPPFLAGS = @CPPFLAGS@
171- @@ -45,7 +45,7 @@ INCINTL = @INCINTL@
172- INSTALL_DATA = @INSTALL_DATA@
173- INSTALL_PROGRAM = @INSTALL_PROGRAM@
174- INSTALL_SCRIPT = @INSTALL_SCRIPT@
175- - LDFLAGS = @LDFLAGS@
176- + override LDFLAGS := @LDFLAGS@
177- LIBICONV = @LIBICONV@
178- LIBINTL = @LIBINTL@
179- PACKAGE = @PACKAGE@
0 commit comments