summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-02-12 15:32:58 -0500
committerMike Frysinger <vapier@gentoo.org>2016-02-12 15:37:08 -0500
commit12fed7053a93f9249b89debd299289938194a156 (patch)
tree627ca2dc9aef015d1ddd0094d69d1afb60ff2224
parentsys-apps/ucspi-unix: respect user CPPFLAGS settings (diff)
downloadgentoo-12fed7053a93f9249b89debd299289938194a156.tar.gz
gentoo-12fed7053a93f9249b89debd299289938194a156.tar.bz2
gentoo-12fed7053a93f9249b89debd299289938194a156.zip
sys-apps/ucspi-unix: leverage SYSROOT for cross-compiling
-rw-r--r--sys-apps/ucspi-unix/ucspi-unix-0.36-r4.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-apps/ucspi-unix/ucspi-unix-0.36-r4.ebuild b/sys-apps/ucspi-unix/ucspi-unix-0.36-r4.ebuild
index 7962db5c72a7..2555e1afbcb8 100644
--- a/sys-apps/ucspi-unix/ucspi-unix-0.36-r4.ebuild
+++ b/sys-apps/ucspi-unix/ucspi-unix-0.36-r4.ebuild
@@ -27,8 +27,8 @@ src_configure() {
local has_peercred
use kernel_linux && has_peercred="-DHASPEERCRED=1"
- echo "$(tc-getCC) ${CPPFLAGS} ${CFLAGS} -I/usr/include/bglibs ${has_peercred} -D_GNU_SOURCE" > conf-cc
- echo "$(tc-getCC) ${CFLAGS} ${LDFLAGS} -L/usr/$(get_libdir)/bglibs" > conf-ld
+ echo "$(tc-getCC) ${CPPFLAGS} ${CFLAGS} -I${SYSROOT}/usr/include/bglibs ${has_peercred} -D_GNU_SOURCE" > conf-cc
+ echo "$(tc-getCC) ${CFLAGS} ${LDFLAGS} -L${SYSROOT}/usr/$(get_libdir)/bglibs" > conf-ld
}
src_install() {