aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@gcc.gnu.org>2017-10-14 14:32:17 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2017-10-14 14:32:17 +0200
commit41f59cdada7360f4a652fb67aa73ae0bb97d10c5 (patch)
tree965aa4cf315e8f074c2cb89824339613fb7f7a29 /gcc/config.gcc
parentb391462a8729697713cf70ea3f7e528d65e31030 (diff)
downloadgcc-41f59cdada7360f4a652fb67aa73ae0bb97d10c5.zip
gcc-41f59cdada7360f4a652fb67aa73ae0bb97d10c5.tar.gz
gcc-41f59cdada7360f4a652fb67aa73ae0bb97d10c5.tar.bz2
re PR bootstrap/82548 (After -r 253646 GCC 8.0 can't build cross compiler for mingw32)
PR bootstrap/82548 * config.gcc (*-*-solaris2*, i[34567]86-*-cygwin*, x86_64-*-cygwin*, i[34567]86-*-mingw* | x86_64-*-mingw*): Append objects to extra_objs instead of overwriting it. From-SVN: r253753
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 2270239..248ee36 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -874,7 +874,7 @@ case ${target} in
tmake_file="${tmake_file} t-sol2 t-slibgcc"
c_target_objs="${c_target_objs} sol2-c.o"
cxx_target_objs="${cxx_target_objs} sol2-c.o sol2-cxx.o"
- extra_objs="sol2.o sol2-stubs.o"
+ extra_objs="${extra_objs} sol2.o sol2-stubs.o"
extra_options="${extra_options} sol2.opt"
case ${enable_threads}:${have_pthread_h}:${have_thread_h} in
"":yes:* | yes:yes:* )
@@ -1692,7 +1692,7 @@ i[34567]86-*-cygwin*)
tmake_file="${tmake_file} i386/t-cygming t-slibgcc"
target_gtfiles="\$(srcdir)/config/i386/winnt.c"
extra_options="${extra_options} i386/cygming.opt i386/cygwin.opt"
- extra_objs="winnt.o winnt-stubs.o"
+ extra_objs="${extra_objs} winnt.o winnt-stubs.o"
c_target_objs="${c_target_objs} msformat-c.o"
cxx_target_objs="${cxx_target_objs} winnt-cxx.o msformat-c.o"
if test x$enable_threads = xyes; then
@@ -1708,7 +1708,7 @@ x86_64-*-cygwin*)
tmake_file="${tmake_file} i386/t-cygming t-slibgcc i386/t-cygwin-w64"
target_gtfiles="\$(srcdir)/config/i386/winnt.c"
extra_options="${extra_options} i386/cygming.opt i386/cygwin.opt"
- extra_objs="winnt.o winnt-stubs.o"
+ extra_objs="${extra_objs} winnt.o winnt-stubs.o"
c_target_objs="${c_target_objs} msformat-c.o"
cxx_target_objs="${cxx_target_objs} winnt-cxx.o msformat-c.o"
if test x$enable_threads = xyes; then
@@ -1783,7 +1783,7 @@ i[34567]86-*-mingw* | x86_64-*-mingw*)
*)
;;
esac
- extra_objs="winnt.o winnt-stubs.o"
+ extra_objs="${extra_objs} winnt.o winnt-stubs.o"
c_target_objs="${c_target_objs} msformat-c.o"
cxx_target_objs="${cxx_target_objs} winnt-cxx.o msformat-c.o"
gas=yes