From d7742d2c2d9189d103c4078406327584c95da6f8 Mon Sep 17 00:00:00 2001 From: Andrew Solomon Date: Tue, 30 May 2017 17:39:34 +0000 Subject: [PATCH] build: Use .S suffix for ppc64le assembly files The assembly file name suffix was changed from .S to .s, which caused a build break on ppc64le architecture. To fix this issue, the suffix will be changed back to .S for ppc64le assembly files only. The x86 assembly files can retain the .s suffix. Fixes: http://tracker.ceph.com/issues/20106 Signed-off-by: Andrew Solomon --- src/CMakeLists.txt | 2 +- src/common/{crc32c_ppc_asm.s => crc32c_ppc_asm.S} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/common/{crc32c_ppc_asm.s => crc32c_ppc_asm.S} (100%) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 74fa4ab6ef757..746c4d973285a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -544,7 +544,7 @@ if(HAVE_INTEL) elseif(HAVE_POWER8) list(APPEND libcommon_files common/crc32c_ppc.c - common/crc32c_ppc_asm.s) + common/crc32c_ppc_asm.S) endif(HAVE_INTEL) if(LINUX) diff --git a/src/common/crc32c_ppc_asm.s b/src/common/crc32c_ppc_asm.S similarity index 100% rename from src/common/crc32c_ppc_asm.s rename to src/common/crc32c_ppc_asm.S -- 2.39.5