diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-02-12 15:30:56 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-02-12 15:37:08 -0500 |
commit | 23c414767bfd7ff2dcfb5e70df63b82aad499a5c (patch) | |
tree | e14901b5b75615ea5b8ab00912961270c26640db /sys-apps | |
parent | sys-apps/firejail: Downgrade EAPI to 5 (diff) | |
download | gentoo-23c414767bfd7ff2dcfb5e70df63b82aad499a5c.tar.gz gentoo-23c414767bfd7ff2dcfb5e70df63b82aad499a5c.tar.bz2 gentoo-23c414767bfd7ff2dcfb5e70df63b82aad499a5c.zip |
sys-apps/ucspi-unix: respect user CPPFLAGS settings
Also pass CFLAGS during link to simplify people's usage.
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/ucspi-unix/ucspi-unix-0.36-r4.ebuild | 4 |
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 58359b625708..7962db5c72a7 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() { |