summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cloos <cloos@jhcloos.com>2014-09-06 14:05:57 -0400
committerJames Cloos <cloos@jhcloos.com>2014-09-06 14:05:57 -0400
commitfa898f4fe6f7dbdd7c07ab32b3b57f5d7c25901a (patch)
treea3b17b38282072e83470c586420f2f5dcba66fc9
parent3c4f28ceeefcb038eb3cf0ff65c4e80f16f26a50 (diff)
Minor adjustment to the or1k patch.
Protect the definition of OpenRISC1000Architecture w/in an ifndef like the other cpu sections do. Signed-off-by: James Cloos <cloos@jhcloos.com>
-rw-r--r--Imake.cf4
1 files changed, 3 insertions, 1 deletions
diff --git a/Imake.cf b/Imake.cf
index e7ebe4d..0942fb0 100644
--- a/Imake.cf
+++ b/Imake.cf
@@ -929,8 +929,10 @@ XCOMM Keep cpp from replacing path elements containing i486/i586/i686
# undef powerpc
# endif
# if defined(__or1k__)
+# ifndef OpenRISC1000Architecture
# define OpenRISC1000Architecture
-# undef __or1k__
+# endif
+# undef __or1k__
# endif
# if defined (__powerpc__) && !defined(__powerpc64__) && !defined (powerpc64)
# ifndef PpcArchitecture