summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/aix.h
diff options
context:
space:
mode:
authorMichael Meissner <meissner@linux.vnet.ibm.com>2010-09-30 19:52:57 +0000
committerMichael Meissner <meissner@gcc.gnu.org>2010-09-30 19:52:57 +0000
commit78009d9f6e4a5f16591682bd1d9c2d3f2e774863 (patch)
treef4c13833481e57af9276adff88369c3e3520d32f /gcc/config/rs6000/aix.h
parente9853e1c2758f593221f3b970333946e90e90fe0 (diff)
downloadgcc-78009d9f6e4a5f16591682bd1d9c2d3f2e774863.tar.gz
PR target/45837: Make powerpc build again
From-SVN: r164764
Diffstat (limited to 'gcc/config/rs6000/aix.h')
-rw-r--r--gcc/config/rs6000/aix.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/rs6000/aix.h b/gcc/config/rs6000/aix.h
index f9004b4e6f0..b4134e6214e 100644
--- a/gcc/config/rs6000/aix.h
+++ b/gcc/config/rs6000/aix.h
@@ -24,6 +24,10 @@
#undef TARGET_AIX
#define TARGET_AIX 1
+/* Linux64.h wants to redefine TARGET_AIX based on -m64, but it can't be used
+ in the #if conditional in options-default.h, so provide another macro. */
+#define TARGET_AIX_OS 1
+
/* AIX always has a TOC. */
#define TARGET_NO_TOC 0
#define TARGET_TOC 1