Skip to content

Commit c090018

Browse files
committed
Merge branch 'master' of jsoftware.com:jsource
2 parents bc49338 + a8647f9 commit c090018

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

make2/build_libj.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -595,12 +595,15 @@ if [ ! -f ../jsrc/jversion.h ] ; then
595595
cp ../jsrc/jversion-x.h ../jsrc/jversion.h
596596
fi
597597

598-
if [ `uname` = Linux ]; then par=`nproc`; else par=`sysctl -n hw.ncpu`; fi
599-
600598
mkdir -p ../bin/$jplatform/$j64x
601599
mkdir -p obj/$jplatform/$j64x/
602600
cp makefile-libj obj/$jplatform/$j64x/.
603601
export CFLAGS LDFLAGS TARGET CFLAGS_SIMD GASM_FLAGS FLAGS_SLEEF FLAGS_BASE64 DLLOBJS LIBJDEF LIBJRES OBJS_BASE64 OBJS_FMA OBJS_AESNI OBJS_AESARM OBJS_SLEEF OBJS_ASM SRC_ASM jplatform j64x
604602
cd obj/$jplatform/$j64x/
603+
if [ "x$MAKEFLAGS" = x'' ] ; then
604+
if [ `uname` = Linux ]; then par=`nproc`; else par=`sysctl -n hw.ncpu`; fi
605605
make -j$par -f makefile-libj
606+
else
607+
make -f makefile-libj
608+
fi
606609
cd -

0 commit comments

Comments
 (0)