Re: MAKEFLAGS remodelation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I didn't realize what you explain. However, there's no need to use
MAKEFLAGS inside the PKGBUILD; it seems 'make' automatically takes its
value from the environment if it is present.

With respect to the default value, I think it is a sane default to use
'nproc'; PKGBUILDs for applications that can't be built in parallel should
explicitly disable it.

# I think these would be sane defaults
JOBS=$(nproc)
MAKEFLAGS="-j ${JOBS}"
SCONSFLAGS="-j ${JOBS} -Q"

Don't worry about your English. If you had seen me some years ago, you
would have thought I was a gorilla.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux