* [arm] Fix cross-native builds
@ 2017-07-06 9:50 Richard Earnshaw (lists)
0 siblings, 0 replies; only message in thread
From: Richard Earnshaw (lists) @ 2017-07-06 9:50 UTC (permalink / raw)
To: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 480 bytes --]
The patch I committed yesterday to remove some generated headers from
the source tree unfortunately has a dependency missing that is only
revealed when doing a cross-native or full Canadian cross build. The
gen* programs were missing a dependency on one of the generated headers.
Fixed by adding an explicit dependency rule for GTM_H in the same way as
we do for TM_H.
* config/arm/t-arm (GTM_H): Add arm-cpu.h.
Checked that this restores cross-native building.
Committed.
[-- Attachment #2: builddep.patch --]
[-- Type: text/x-patch, Size: 351 bytes --]
diff --git a/gcc/config/arm/t-arm b/gcc/config/arm/t-arm
index 3877232..16177e0 100644
--- a/gcc/config/arm/t-arm
+++ b/gcc/config/arm/t-arm
@@ -19,6 +19,7 @@
# <http://www.gnu.org/licenses/>.
TM_H += arm-cpu.h
+GTM_H += arm-cpu.h
# All md files - except for arm.md.
# This list should be kept in alphabetical order and updated whenever an md
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-07-06 9:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-06 9:50 [arm] Fix cross-native builds Richard Earnshaw (lists)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).