diff options
author | Lucien <astrataro@gmail.com> | 2015-01-03 14:45:34 +0300 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-01-03 14:45:34 +0300 |
commit | aaf68b50f81c717fa77858b0d47c2b0264c2ff09 (patch) | |
tree | 04c008584506e90157acae69ad9eb22d4aea9f2a | |
parent | 881f2ecfbd38bf48a078ed328873ea542a5f5e66 (diff) |
Automatically detect build threads
-rw-r--r-- | build_ffmpeg.sh | 2 | ||||
-rw-r--r-- | build_ffmpeg_msvc.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/build_ffmpeg.sh b/build_ffmpeg.sh index eccc5617..b9cce174 100644 --- a/build_ffmpeg.sh +++ b/build_ffmpeg.sh @@ -111,7 +111,7 @@ configure() ( ) build() ( - make -j8 + make -j$(($NUMBER_OF_PROCESSORS+1)) ) echo Building ffmpeg in GCC ${arch} Release config... diff --git a/build_ffmpeg_msvc.sh b/build_ffmpeg_msvc.sh index 0f2fd6a8..ec4f4977 100644 --- a/build_ffmpeg_msvc.sh +++ b/build_ffmpeg_msvc.sh @@ -87,7 +87,7 @@ configure() ( ) build() ( - make -j8 + make -j$(($NUMBER_OF_PROCESSORS+1)) ) echo Building ffmpeg in MSVC Debug config... |