From adc5620bbc8d8a161e972309783cce2ae410b93e Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 9 Jun 2018 10:51:47 +0000 Subject: user/x265: now with 100% more overly-dramatic ARM support --- user/x265/x265-unbreak-my-arm.patch | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 user/x265/x265-unbreak-my-arm.patch (limited to 'user/x265/x265-unbreak-my-arm.patch') diff --git a/user/x265/x265-unbreak-my-arm.patch b/user/x265/x265-unbreak-my-arm.patch new file mode 100644 index 000000000..f9fe658fd --- /dev/null +++ b/user/x265/x265-unbreak-my-arm.patch @@ -0,0 +1,27 @@ +unbreak my arrrrrrrrrrrrrrrrm +say you'll run on me again +undo this hurt you caused +when you built with neon +and sigill'd on erin + +uncry these tears +i cried so many nights +unbreak my arrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrm +myyyyyyyyy arm... + +--- x265_v2.6/source/CMakeLists.txt.old 2017-11-29 03:21:40.000000000 +0000 ++++ x265_v2.6/source/CMakeLists.txt 2018-06-09 10:34:57.239447833 +0000 +@@ -226,11 +226,11 @@ + set(ARM_ARGS -march=armv6 -mfloat-abi=soft -mfpu=vfp -marm -fPIC) + elseif(ARM) + find_package(Neon) +- if(CPU_HAS_NEON) ++ if(CPU_HAS_NEON AND NATIVE_BUILD) + set(ARM_ARGS -mcpu=native -mfloat-abi=hard -mfpu=neon -marm -fPIC) + add_definitions(-DHAVE_NEON) + else() +- set(ARM_ARGS -mcpu=native -mfloat-abi=hard -mfpu=vfp -marm) ++ set(ARM_ARGS -mfloat-abi=hard) + endif() + endif() + add_definitions(${ARM_ARGS}) -- cgit v1.2.3-60-g2f50