net-misc/wireguard: prepend build_params instead of clobbering
authorJason A. Donenfeld <zx2c4@gentoo.org>
Tue, 26 Jul 2016 15:15:26 +0000 (17:15 +0200)
committerJason A. Donenfeld <zx2c4@gentoo.org>
Tue, 26 Jul 2016 15:15:42 +0000 (17:15 +0200)
Package-Manager: portage-2.3.0

net-misc/wireguard/wireguard-0.0.20160722.ebuild
net-misc/wireguard/wireguard-9999.ebuild

index 108e0dc06f410da92b3044c4b269619dee677fcb..83e13fc03a62929f5b07ed92b4c9a6f7234384e2 100644 (file)
@@ -43,7 +43,7 @@ src_prepare() {
 }
 
 src_compile() {
-       use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y"
+       use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y ${BUILD_PARAMS}"
        linux-mod_src_compile
        emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools
 }
index 108e0dc06f410da92b3044c4b269619dee677fcb..83e13fc03a62929f5b07ed92b4c9a6f7234384e2 100644 (file)
@@ -43,7 +43,7 @@ src_prepare() {
 }
 
 src_compile() {
-       use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y"
+       use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y ${BUILD_PARAMS}"
        linux-mod_src_compile
        emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools
 }