On Mon, Oct 27, 2014 at 9:58 PM, Jonas Smedegaard <d...@jones.dk> wrote: > Quoting YunQiang Su (2014-10-27 14:32:43) >> When building jackd2 with DEB_BUILD_PARALLEL=1 >> DEB_BUILD_OPTIONS="parallel=4", >> it fails: >> >> CFLAGS="-g -O2 -fstack-protector-strong -Wformat >> -Werror=format-security -fvisibility=hidden -Wall" CXXFLAGS="-g -O2 >> -fstack-protector-strong -Wformat -Werror=format-security >> -fvisibility=hidden -Wall" CPPFLAGS="-D_FORTIFY_SOURCE=2" >> LDFLAGS="-Wl,-z,relro" -j4 ./waf-light configure --prefix=/usr >> --classic --libdir=/usr/lib/mips64el-linux-gnuabi64 --alsa --dbus >> /bin/sh: 1: -j4: not found >> >> The attached patch can fix it. > > Thanks! > > If I understand your patch correctly (have only read it briefly) the > first lines are better written without making shell calls, like this: > > WAF_EXTRA_ARGS = $(filter-out -j%,$(DEB_MAKE_EXTRA_ARGS)) > WAF_JOBS = $(filter -j%,$(DEB_MAKE_EXTRA_ARGS)) >
Yes, using functions from make should be better. > ...and even better by using underlying variable instead of extracting > from DEB_MAKE_EXTRA_ARGS. I am not very familiar with cdbs, so no idea about it. > > > - Jonas > > -- > * Jonas Smedegaard - idealist & Internet-arkitekt > * Tlf.: +45 40843136 Website: http://dr.jones.dk/ > > [x] quote me freely [ ] ask before reusing [ ] keep private -- YunQiang Su _______________________________________________ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers