summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/iputils/PKGBUILD2
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