diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-09 10:51:47 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-09 10:51:47 +0000 |
commit | adc5620bbc8d8a161e972309783cce2ae410b93e (patch) | |
tree | f3e878cb2efbd1b21c85af1aa71be072e1969ad6 /user/x265/x265-unbreak-my-arm.patch | |
parent | 0b9e930043cefb129176959b37a587869d64ffea (diff) | |
download | packages-adc5620bbc8d8a161e972309783cce2ae410b93e.tar.gz packages-adc5620bbc8d8a161e972309783cce2ae410b93e.tar.bz2 packages-adc5620bbc8d8a161e972309783cce2ae410b93e.tar.xz packages-adc5620bbc8d8a161e972309783cce2ae410b93e.zip |
user/x265: now with 100% more overly-dramatic ARM support
Diffstat (limited to 'user/x265/x265-unbreak-my-arm.patch')
-rw-r--r-- | user/x265/x265-unbreak-my-arm.patch | 27 |
1 files changed, 27 insertions, 0 deletions
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}) |