Commit 383abfa1 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

tools: build cmake using multiple threads

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 10a1a8b1
......@@ -109,6 +109,7 @@ esac
cat > Makefile << EOF
MAKEFLAGS += -j$CPUS
CMAKEFLAGS += --parallel=$CPUS
$CC
$CXX
PREFIX=\$(abspath ./build)
......
......@@ -68,7 +68,7 @@ cmake: cmake-$(CMAKE_VERSION).tar.gz
$(MOVE)
.cmake: cmake
(cd $<; ./configure --prefix=$(PREFIX) && $(MAKE) && $(MAKE) install)
(cd $<; ./configure --prefix=$(PREFIX) $(CMAKEFLAGS) && $(MAKE) && $(MAKE) install)
touch $@
CLEAN_FILE += .cmake
......
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