summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-03-02 15:48:13 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-03-02 15:48:41 (GMT)
commitf32d41d295e7afa0623cea9075f8eb8648e7d431 (patch)
tree88d3769adc65e36e3e079b4aaeecde24ba1b683b /Modules
parent178a166ae154effcd0f578bdca45744de956d4f9 (diff)
parenta09d646b7c0817be750ec86d13e5a3ee289d017b (diff)
downloadCMake-f32d41d295e7afa0623cea9075f8eb8648e7d431.zip
CMake-f32d41d295e7afa0623cea9075f8eb8648e7d431.tar.gz
CMake-f32d41d295e7afa0623cea9075f8eb8648e7d431.tar.bz2
Merge topic 'CheckTypeSize-ppc64'
a09d646b7c CheckTypeSize: Fix '..._CODE' result for ppc and ppc64 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4413
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CheckTypeSize.c.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/Modules/CheckTypeSize.c.in b/Modules/CheckTypeSize.c.in
index 82035a3..fb93073 100644
--- a/Modules/CheckTypeSize.c.in
+++ b/Modules/CheckTypeSize.c.in
@@ -5,10 +5,14 @@
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
-#elif defined(__ppc__)
-# define KEY '_','_','p','p','c','_','_'
+#elif defined(__PPC64__)
+# define KEY '_','_','P','P','C','6','4','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
+#elif defined(__PPC__)
+# define KEY '_','_','P','P','C','_','_'
+#elif defined(__ppc__)
+# define KEY '_','_','p','p','c','_','_'
#elif defined(__aarch64__)
# define KEY '_','_','a','a','r','c','h','6','4','_','_'
#elif defined(__ARM_ARCH_7A__)