diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2011-09-17 21:30:59 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2011-09-17 21:30:59 +0200 |
commit | 14462aa4f44e12bb0b79f0b0eb4d3bccdafbe9e0 (patch) | |
tree | 494b78b3c24bed0eeaebcb73672d21622783e1a5 /core/iputils | |
parent | 3e6782cd6683fbefe9c0fca5c9bd7af2a6fa1dd1 (diff) |
Force iputils to use user-specified CFLAGS.
Diffstat (limited to 'core/iputils')
-rw-r--r-- | core/iputils/PKGBUILD | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/iputils/PKGBUILD b/core/iputils/PKGBUILD index ec4f5787e..7c9351502 100644 --- a/core/iputils/PKGBUILD +++ b/core/iputils/PKGBUILD @@ -31,12 +31,14 @@ build() { # Doc fails to build (see FS#20251) # As a temporary workaround, we use these man pages from Fedora & LFS patch -Np1 -i ../iputils-s20101006-manpages.patch + find . -name Makefile | xargs sed -ri 's/^(CCOPT=.*)$/\1 '"${CFLAGS}"'/' make # build traceroute # this is combined in this package because it's awkward as a separate package cd "${srcdir}/traceroute-${_traceroutever}" patch -Np1 -i ../permission-fix.patch + find . -name Makefile.in | xargs sed -ri 's/^(CCOPT=.*)$/\1 '"${CFLAGS}"'/' ./configure --prefix=/usr \ --sbindir=/bin \ --mandir=/usr/share/man |