File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,14 @@ pushd lame-3.100
66./configure --prefix=" ` realpath ..` /lame-install" --disable-dependency-tracking \
77 --enable-static --disable-shared --enable-nasm --disable-gtktest \
88 --disable-decoder --disable-frontend
9- make
9+
10+ if [ " $( uname) " = " Darwin" ]; then
11+ JOBS=$( sysctl -n hw.ncpu)
12+ else
13+ JOBS=$( nproc)
14+ fi
15+
16+ make -j${JOBS}
1017make install
1118popd
1219
2835 --enable-muxer=wav --enable-libmp3lame --enable-encoder=libmp3lame --enable-muxer=mp3 \
2936 --extra-cflags=" -I` realpath ../lame-install/include` " \
3037 --extra-ldflags=" -L` realpath ../lame-install/lib` "
31- make
38+ make -j ${JOBS}
Original file line number Diff line number Diff line change 6262 --disable-power --disable-hidapi --disable-sensor --disable-filesystem \
6363 --disable-timers --disable-atomic --disable-file --disable-misc \
6464 --disable-locale --disable-loadso --disable-cpuinfo
65- make
65+ make -j$(sysctl -n hw.ncpu)
6666 cp build/.libs/libSDL2.a /usr/local/lib
6767 popd
6868
You can’t perform that action at this time.
0 commit comments