git: b957fb0221d9 - main - multimedia/x265: fix build on powerpc64*
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 10 May 2024 16:20:24 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=b957fb0221d9ff95a0a3e5d5f15ae7ff54e67bab commit b957fb0221d9ff95a0a3e5d5f15ae7ff54e67bab Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2024-05-08 09:03:36 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2024-05-10 16:19:50 +0000 multimedia/x265: fix build on powerpc64* c++: error: unsupported option '-mabi=' for target 'powerpc64-unknown-freebsd14.1' --- multimedia/x265/files/patch-source_CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/multimedia/x265/files/patch-source_CMakeLists.txt b/multimedia/x265/files/patch-source_CMakeLists.txt index 5a3fdb3cca3d..8026004c5378 100644 --- a/multimedia/x265/files/patch-source_CMakeLists.txt +++ b/multimedia/x265/files/patch-source_CMakeLists.txt @@ -17,6 +17,15 @@ endif() endif(UNIX) +@@ -474,7 +475,7 @@ if(POWER) + # IBM Power8 + option(ENABLE_ALTIVEC "Enable ALTIVEC profiling instrumentation" ON) + if(ENABLE_ALTIVEC) +- add_definitions(-DHAVE_ALTIVEC=1 -maltivec -mabi=altivec) ++ add_definitions(-DHAVE_ALTIVEC=1 -maltivec) + add_definitions(-flax-vector-conversions -fpermissive) + else() + add_definitions(-DHAVE_ALTIVEC=0) @@ -593,12 +594,6 @@ ARCHIVE DESTINATION ${LIB_INSTALL_DIR}) endif()