summarylogtreecommitdiffstats
path: root/ffmpeg-parallel-build-use-processorcount.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ffmpeg-parallel-build-use-processorcount.patch')
-rw-r--r--ffmpeg-parallel-build-use-processorcount.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/ffmpeg-parallel-build-use-processorcount.patch b/ffmpeg-parallel-build-use-processorcount.patch
deleted file mode 100644
index 2ddbd373808..00000000000
--- a/ffmpeg-parallel-build-use-processorcount.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff --git a/cmake/admFFmpegBuild_helpers.cmake b/cmake/admFFmpegBuild_helpers.cmake
-index 0d8cd846..131b278b 100644
---- a/cmake/admFFmpegBuild_helpers.cmake
-+++ b/cmake/admFFmpegBuild_helpers.cmake
-@@ -297,7 +297,11 @@ MACRO(ADM_FF_BUILD_UNIX_STYLE)
- #
- MACRO(ADM_FF_ADD_DUMMY_TARGET)
- if(NOT MSVC)
-- SET(PARRALLEL "-j4")
-+ include(ProcessorCount)
-+ ProcessorCount(N)
-+ if(NOT N EQUAL 0)
-+ SET(PARRALLEL -j${N})
-+ endif(NOT N EQUAL 0)
- endif(NOT MSVC)
- add_custom_target( libavutil_dummy ALL
- COMMAND ${CMAKE_BUILD_TOOL} ${PARRALLEL} # We assume make or gnumake when host is unix