Module Name: src
Committed By: mrg
Date: Thu Mar 17 08:02:38 UTC 2016
Modified Files:
src/external/gpl3/gcc/lib: Makefile.hacks
Log Message:
don't build a fake insn-modes.h for arm.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/lib/Makefile.hacks
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gcc/lib/Makefile.hacks
diff -u src/external/gpl3/gcc/lib/Makefile.hacks:1.4 src/external/gpl3/gcc/lib/Makefile.hacks:1.5
--- src/external/gpl3/gcc/lib/Makefile.hacks:1.4 Sat Mar 1 10:00:31 2014
+++ src/external/gpl3/gcc/lib/Makefile.hacks Thu Mar 17 08:02:38 2016
@@ -1,22 +1,7 @@
-# $NetBSD: Makefile.hacks,v 1.4 2014/03/01 10:00:31 mrg Exp $
+# $NetBSD: Makefile.hacks,v 1.5 2016/03/17 08:02:38 mrg Exp $
# some random crap we need in a few places
-# arm.h wants MACHMODE aka "enum machine_mode" so we provide a hackful
-# one here to help build libs before gcc itself is built.
-
-# XXX arm hack
-.if ${MACHINE_CPU} == "arm"
-${OBJS}: insn-modes.h
-# XXX XXX
-${__DPSRCS.d}: insn-modes.h
-insn-modes.h:
- ${_MKTARGET_CREATE}
- echo "enum machine_mode { X };" > ${.TARGET}
-DPSRCS+= insn-modes.h
-CLEANFILES+= insn-modes.h
-.endif
-
.if ${MACHINE_CPU} == "mips"
insn-constants.h:
${_MKTARGET_CREATE}