diff options
author | Rechi <Rechi@users.noreply.github.com> | 2018-02-05 16:38:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-05 16:38:39 +0100 |
commit | 54b1a2e1a3dab69724f5469b21900cc80e990c7a (patch) | |
tree | 1cec0cd94c803d19c0dfcf8d590a524e3ae4d2a6 | |
parent | ef2563e7a8db6e176401b3dcd96c4b8bbb45cec1 (diff) | |
parent | e910a1a9a4b814151eb0621629cd50a9a86d9e15 (diff) |
Merge pull request #13472 from peak3d/strip
[FFMPEG] add strip command
-rw-r--r-- | tools/depends/target/ffmpeg/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tools/depends/target/ffmpeg/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/depends/target/ffmpeg/CMakeLists.txt b/tools/depends/target/ffmpeg/CMakeLists.txt index a54cf03ebd..e19bd2d011 100644 --- a/tools/depends/target/ffmpeg/CMakeLists.txt +++ b/tools/depends/target/ffmpeg/CMakeLists.txt @@ -10,7 +10,7 @@ if(CROSSCOMPILING) set(pkgconf "PKG_CONFIG_LIBDIR=${DEPENDS_PATH}/lib/pkgconfig") list(APPEND ffmpeg_conf --pkg-config=${PKG_CONFIG_EXECUTABLE} --pkg-config-flags=--static) list(APPEND ffmpeg_conf --enable-cross-compile --cpu=${CPU} --arch=${CPU} --target-os=${OS}) - list(APPEND ffmpeg_conf --cc=${CMAKE_C_COMPILER} --cxx=${CMAKE_CXX_COMPILER} --ar=${CMAKE_AR}) + list(APPEND ffmpeg_conf --cc=${CMAKE_C_COMPILER} --cxx=${CMAKE_CXX_COMPILER} --ar=${CMAKE_AR} --strip=${CMAKE_STRIP}) message(STATUS "CROSS: ${ffmpeg_conf}") endif() diff --git a/tools/depends/target/ffmpeg/Makefile b/tools/depends/target/ffmpeg/Makefile index b20c82689e..55fc68c8ff 100644 --- a/tools/depends/target/ffmpeg/Makefile +++ b/tools/depends/target/ffmpeg/Makefile @@ -8,7 +8,7 @@ APPLY_PATCHES=no # configuration settings ffmpg_config = --prefix=$(PREFIX) --extra-version="kodi-$(VERSION)" -ffmpg_config += --cc="$(CC)" --cxx="$(CXX)" --ar=$(AR) --ranlib=$(RANLIB) +ffmpg_config += --cc="$(CC)" --cxx="$(CXX)" --ar=$(AR) --ranlib=$(RANLIB) --strip=$(STRIP) ffmpg_config += --disable-devices --disable-doc ffmpg_config += --disable-ffplay --disable-ffmpeg ffmpg_config += --disable-ffprobe --disable-ffserver |