summaryrefslogtreecommitdiff
path: root/sim/common/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/defs.h')
-rw-r--r--sim/common/defs.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/sim/common/defs.h b/sim/common/defs.h
index 957e36d3c93..4b5da7bfa36 100644
--- a/sim/common/defs.h
+++ b/sim/common/defs.h
@@ -34,9 +34,21 @@
#undef PACKAGE_URL
#undef PACKAGE_VERSION
-/* Include sim's various configure tests. */
+/* Include arch-specific sim's various configure tests. */
#include "config.h"
+/* Reset macros that our config.h will provide. */
+#undef PACKAGE
+#undef PACKAGE_BUGREPORT
+#undef PACKAGE_NAME
+#undef PACKAGE_STRING
+#undef PACKAGE_TARNAME
+#undef PACKAGE_URL
+#undef PACKAGE_VERSION
+
+/* Include common sim's various configure tests. */
+#include "../config.h"
+
#endif
#endif