[x265] [PATCH 2/2] Fix x86_64 build

Deepthi Nandakumar deepthi at multicorewareinc.com
Wed Mar 5 12:15:13 CET 2014


Can you convert this to an hg patch? Git patches don't apply cleanly....


On Wed, Mar 5, 2014 at 4:08 PM, Rafaël Carré <funman at videolan.org> wrote:

> ---
>  source/CMakeLists.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
> index 2febfaa..d2fea1a 100644
> --- a/source/CMakeLists.txt
> +++ b/source/CMakeLists.txt
> @@ -21,7 +21,7 @@ configure_file("${PROJECT_SOURCE_DIR}/x265_config.h.in"
>
>  SET(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake"
> "${CMAKE_MODULE_PATH}")
>
> -if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "i386" OR ${CMAKE_SYSTEM_PROCESSOR}
> STREQUAL "x86")
> +if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "i386" OR ${CMAKE_SYSTEM_PROCESSOR}
> STREQUAL "x86" OR ${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
>      set(X86 1)
>      add_definitions(-DX265_ARCH_X86=1)
>      if("${CMAKE_SIZEOF_VOID_P}" MATCHES 8)
> --
> 1.9.0
>
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20140305/636631e9/attachment.html>


More information about the x265-devel mailing list