commit: 23c414767bfd7ff2dcfb5e70df63b82aad499a5c
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 12 20:30:56 2016 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Fri Feb 12 20:37:08 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23c41476
sys-apps/ucspi-unix: respect user CPPFLAGS settings
Also pass CFLAGS during link to simplify people's usage.
sys-apps/ucspi-unix/ucspi-unix-0.36-r4.ebuild | 4 ++--
1 file 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 58359b6..7962db5 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) ${CFLAGS} -I/usr/include/bglibs ${has_peercred}
-D_GNU_SOURCE" > conf-cc
- echo "$(tc-getCC) ${LDFLAGS} -L/usr/$(get_libdir)/bglibs" > conf-ld
+ 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
}
src_install() {