Use automagic MAKEOPTS
This commit is contained in:
parent
bfa8deeb97
commit
e0f5da3216
2
bashrc
2
bashrc
@ -3,7 +3,7 @@ CXX=clang++
|
|||||||
CFLAGS="-O2 -pipe -Wall"
|
CFLAGS="-O2 -pipe -Wall"
|
||||||
CXXFLAGS="${CFLAGS}"
|
CXXFLAGS="${CFLAGS}"
|
||||||
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
|
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
|
||||||
MAKEOPTS="-j4"
|
MAKEOPTS="${MAKEOPTS:--j$(nproc 2>/dev/null || echo '1')}"
|
||||||
|
|
||||||
# cmake
|
# cmake
|
||||||
CMAKE_MAKEFILE_GENERATOR="ninja"
|
CMAKE_MAKEFILE_GENERATOR="ninja"
|
||||||
|
Loading…
Reference in New Issue
Block a user