diff --git a/gen_compile.sh b/gen_compile.sh index febbcd3..2de867f 100755 --- a/gen_compile.sh +++ b/gen_compile.sh @@ -252,8 +252,8 @@ compile_generic() { # ARGS='CC="ccache gcc"' if [ "${argstype}" == 'runtask' ] then - print_info 2 "COMMAND: ${MAKE} ${MAKEOPTS/-j?/j1} ${ARGS} ${target} $*" 1 0 1 - eval ${MAKE} -s ${MAKEOPTS/-j?/-j1} "${ARGS}" ${target} $* + print_info 2 "COMMAND: ${MAKE} ${MAKEOPTS} -j1 ${ARGS} ${target} $*" 1 0 1 + eval ${MAKE} -s ${MAKEOPTS} -j1 "${ARGS}" ${target} $* RET=$? elif [ "${LOGLEVEL}" -gt "1" ] then