From: Robin Gareus Date: Sun, 25 Nov 2018 15:57:51 +0000 (+0100) Subject: Fix Linux/PPC64 runtime X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=5273c636ab979f567c3cf3e24f6ac43be01d5d47;p=ardour.git Fix Linux/PPC64 runtime This fixes an error while loading shared libraries: libardour.so R_PPC64_ADDR32 reloc at 0x... for symbol `' out of range Treating a local as an immediate value in asm code makes the library non-relocatable. --- diff --git a/libs/ardour/ardour/cycles.h b/libs/ardour/ardour/cycles.h index dc1095db7b..eed3bb452d 100644 --- a/libs/ardour/ardour/cycles.h +++ b/libs/ardour/ardour/cycles.h @@ -70,6 +70,14 @@ static inline cycles_t get_cycles (void) } #endif +#elif defined(__powerpc64__) + +static inline cycles_t get_cycles(void) +{ +#warning You are compiling libardour on a platform for which ardour/cycles.h needs work + return 0; +} + #elif defined(__powerpc__) #define CPU_FTR_601 0x00000100