Commit 70cb295a authored by Ghislain MARY's avatar Ghislain MARY

One more change to get ccache to work for iOS.

parent 26a352f2
......@@ -116,7 +116,7 @@ else()
set(EP_ffmpeg_TARGET_OS "linux")
set(EP_ffmpeg_PATCH_COMMAND "${PATCH_PROGRAM}" "-p1" "-i" "${CMAKE_CURRENT_SOURCE_DIR}/builders/ffmpeg/no-sdl.patch" ${EP_ffmpeg_PATCH_OPTIONS})
endif()
list(APPEND EP_ffmpeg_CONFIGURE_OPTIONS "--cc=$CC")
list(APPEND EP_ffmpeg_CONFIGURE_OPTIONS "--cc=$CC_LAUNCHER")
endif()
set(EP_ffmpeg_CROSS_COMPILATION_OPTIONS
......
......@@ -24,14 +24,17 @@ if("@CMAKE_C_COMPILER_ID@" STREQUAL "GNU")
string(REGEX REPLACE "gcc$" "as" AS_COMPILER "@CMAKE_C_COMPILER@")
set(AUTOTOOLS_AS_COMPILER ${AS_COMPILER} CACHE PATH "Initial cache" FORCE)
endif()
set(AUTOTOOLS_C_COMPILER "@CMAKE_C_COMPILER_LAUNCHER@ @CMAKE_C_COMPILER@" CACHE PATH "Initial cache" FORCE)
set(AUTOTOOLS_CXX_COMPILER "@CMAKE_CXX_COMPILER_LAUNCHER@ @CMAKE_CXX_COMPILER@" CACHE PATH "Initial cache" FORCE)
set(AUTOTOOLS_OBJC_COMPILER "@CMAKE_C_COMPILER_LAUNCHER@ @CMAKE_C_COMPILER@" CACHE PATH "Initial cache" FORCE)
set(AUTOTOOLS_C_COMPILER "@CMAKE_C_COMPILER@" CACHE PATH "Initial cache" FORCE)
set(AUTOTOOLS_CXX_COMPILER "@CMAKE_CXX_COMPILER@" CACHE PATH "Initial cache" FORCE)
set(AUTOTOOLS_OBJC_COMPILER "@CMAKE_C_COMPILER@" CACHE PATH "Initial cache" FORCE)
set(AUTOTOOLS_LINKER "@CMAKE_LINKER@" CACHE PATH "Initial cache" FORCE)
set(AUTOTOOLS_AR "@CMAKE_AR@" CACHE PATH "Initial cache" FORCE)
set(AUTOTOOLS_RANLIB "@CMAKE_RANLIB@" CACHE PATH "Initial cache" FORCE)
set(AUTOTOOLS_STRIP "@CMAKE_STRIP@" CACHE PATH "Initial cache" FORCE)
set(AUTOTOOLS_NM "@CMAKE_NM@" CACHE PATH "Initial cache" FORCE)
set(AUTOTOOLS_C_COMPILER_LAUNCHER "@CMAKE_C_COMPILER_LAUNCHER@ @CMAKE_C_COMPILER@" CACHE PATH "Initial cache" FORCE)
set(AUTOTOOLS_CXX_COMPILER_LAUNCHER "@CMAKE_CXX_COMPILER_LAUNCHER@ @CMAKE_CXX_COMPILER@" CACHE PATH "Initial cache" FORCE)
set(AUTOTOOLS_OBJC_COMPILER_LAUNCHER "@CMAKE_C_COMPILER_LAUNCHER@ @CMAKE_C_COMPILER@" CACHE PATH "Initial cache" FORCE)
set(AUTOTOOLS_C_FLAGS "@CMAKE_C_FLAGS@" CACHE STRING "Initial cache" FORCE)
set(AUTOTOOLS_CXX_FLAGS "@CMAKE_CXX_FLAGS@" CACHE STRING "Initial cache" FORCE)
......
......@@ -12,6 +12,9 @@ export AR="@AUTOTOOLS_AR@"
export RANLIB="@AUTOTOOLS_RANLIB@"
export STRIP="@AUTOTOOLS_STRIP@"
export NM="@AUTOTOOLS_NM@"
export CC_LAUNCHER="@AUTOTOOLS_C_COMPILER_LAUNCHER@"
export CXX_LAUNCHER="@AUTOTOOLS_CXX_COMPILER_LAUNCHER@"
export OBJC_LAUNCHER="@AUTOTOOLS_OBJC_COMPILER_LAUNCHER@"
ASFLAGS="@ep_asflags@"
CPPFLAGS="@ep_cppflags@"
......
......@@ -12,6 +12,9 @@ export AR="@AUTOTOOLS_AR@"
export RANLIB="@AUTOTOOLS_RANLIB@"
export STRIP="@AUTOTOOLS_STRIP@"
export NM="@AUTOTOOLS_NM@"
export CC_LAUNCHER="@AUTOTOOLS_C_COMPILER_LAUNCHER@"
export CXX_LAUNCHER="@AUTOTOOLS_CXX_COMPILER_LAUNCHER@"
export OBJC_LAUNCHER="@AUTOTOOLS_OBJC_COMPILER_LAUNCHER@"
ASFLAGS="@ep_asflags@"
CPPFLAGS="@ep_cppflags@"
......
......@@ -12,6 +12,9 @@ export AR="@AUTOTOOLS_AR@"
export RANLIB="@AUTOTOOLS_RANLIB@"
export STRIP="@AUTOTOOLS_STRIP@"
export NM="@AUTOTOOLS_NM@"
export CC_LAUNCHER="@AUTOTOOLS_C_COMPILER_LAUNCHER@"
export CXX_LAUNCHER="@AUTOTOOLS_CXX_COMPILER_LAUNCHER@"
export OBJC_LAUNCHER="@AUTOTOOLS_OBJC_COMPILER_LAUNCHER@"
ASFLAGS="@ep_asflags@"
CPPFLAGS="@ep_cppflags@"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment