Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#33879 - [pciutils] build optimization
Attached to Project:
Arch Linux
Opened by hi117 (hi117) - Friday, 15 February 2013, 20:09 GMT
Last edited by Tobias Powalowski (tpowa) - Monday, 25 February 2013, 16:15 GMT
Opened by hi117 (hi117) - Friday, 15 February 2013, 20:09 GMT
Last edited by Tobias Powalowski (tpowa) - Monday, 25 February 2013, 16:15 GMT
|
DetailsSummary and Info:
The build process for pciutils can be optimized by not building the entire project twice. Here is a patch to only build the part you want in the first pass and to build the entire project in the second pass: --- PKGBUILD.orig 2013-02-15 15:04:18.804100280 -0500 +++ PKGBUILD 2013-02-15 15:04:28.194102673 -0500 @@ -15,7 +15,7 @@ build() { cd "${srcdir}/${pkgname}-${pkgver}" - make OPT="${CFLAGS} -fPIC -DPIC" ZLIB=no SHARED=no PREFIX=/usr SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man all + make OPT="${CFLAGS} -fPIC -DPIC" ZLIB=no SHARED=no PREFIX=/usr SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man lib/libpci.a cp lib/libpci.a "${srcdir}/" make clean make OPT="${CFLAGS}" ZLIB=no SHARED=yes PREFIX=/usr SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man all Steps to Reproduce: N/A |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Monday, 25 February 2013, 16:15 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in svn
Monday, 25 February 2013, 16:15 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in svn