mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 10:22:55 +00:00
invoke make from minsize.sh and debug.sh in FreeBSD and Solari compatible way
FreeBSD does not have `nproc` and Solaris (OpenIndiana) uses dmake which requires space separator to recognize the jobs argument Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
ccdabe7fe5
commit
b935340448
2 changed files with 2 additions and 2 deletions
|
@ -17,4 +17,4 @@ export LDFLAGS="$LDFLAGS -Wall -fsanitize=$sanitizers"
|
|||
|
||||
cmake ../ -DCMAKE_BUILD_TYPE=Debug \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr $@
|
||||
make -j$(nproc || echo 1)
|
||||
make -j $(nproc || sysctl -n hw.ncpu || echo 1)
|
||||
|
|
|
@ -13,4 +13,4 @@ export CXXFLAGS="$CXXFLAGS -flto -fno-exceptions"
|
|||
|
||||
cmake ../ -DCMAKE_BUILD_TYPE=MinSizeRel \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr $@
|
||||
make -j$(nproc || echo 1)
|
||||
make -j $(nproc || sysctl -n hw.ncpu || echo 1)
|
||||
|
|
Loading…
Add table
Reference in a new issue