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#22284 - [ed] PKGBUILD doesn't honour CFLAGS and LDFLAGS
Attached to Project:
Arch Linux
Opened by Emil Renner Berthing (Esmil) - Monday, 03 January 2011, 13:54 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 30 January 2011, 11:06 GMT
Opened by Emil Renner Berthing (Esmil) - Monday, 03 January 2011, 13:54 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 30 January 2011, 11:06 GMT
|
DetailsDescription:
ed uses a custom configure script which doesn't honour the CFLAGS and LDFLAGS environment variables. The following small change makes it do so: diff --git a/PKGBUILD b/PKGBUILD index 76cc0ea..2a681a4 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -16,7 +16,9 @@ md5sums=('e66c03d7e4c67b025d5b6093ec678267') build() { cd ${srcdir}/${pkgname}-${pkgver} - ./configure --prefix=/ --mandir=/usr/share/man --infodir=/usr/share/info + ./configure --prefix=/ \ + --mandir=/usr/share/man --infodir=/usr/share/info \ + CFLAGS="$CFLAGS -Wall -W" LDFLAGS="$LDFLAGS" make || return 1 } Additional info: I looked at the 1.5-1 version of the PKGBUILD. Steps to reproduce: Compile ed with custom CFLAGS or LDFLAGS set in your /etc/makepkg.conf |
This task depends upon