diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ce890998894960228096b99c0be7be85bccb5beb..c8296d5d6aaf66914c878bc5a0ca17aedc07736e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2009-11-04  Maciej W. Rozycki  <macro@linux-mips.org>
+
+	* config.gcc (vax-*-linux*): Keep the original contents of
+	tmake_file while adding vax/t-linux.
+
 2009-11-03  Eric Botcazou  <ebotcazou@adacore.com>
 
 	PR target/10127
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 4f388babe6a36e160f0f4a586153f92ece3e3c17..9c279dc8d452d7892eb62003df46408e9f146191 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -2503,7 +2503,7 @@ v850-*-*)
 	;;
 vax-*-linux*)
 	tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h vax/elf.h vax/linux.h"
-	tmake_file=vax/t-linux
+	tmake_file="${tmake_file} vax/t-linux"
 	;;
 vax-*-netbsdelf*)
 	tm_file="${tm_file} elfos.h netbsd.h netbsd-elf.h vax/elf.h vax/netbsd-elf.h"