commit:     5f717280766c3995fa3b232a084c48c5a7c088ae
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  7 16:42:15 2020 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Sep  7 16:49:08 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f717280

net-misc/oidc-agent: respect CC while linking the shared library

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 .../oidc-agent/files/oidc-agent-3.3.1_makefile-toolchain-vars.patch     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/net-misc/oidc-agent/files/oidc-agent-3.3.1_makefile-toolchain-vars.patch 
b/net-misc/oidc-agent/files/oidc-agent-3.3.1_makefile-toolchain-vars.patch
index 1441cdc1319..dda1ab25221 100644
--- a/net-misc/oidc-agent/files/oidc-agent-3.3.1_makefile-toolchain-vars.patch
+++ b/net-misc/oidc-agent/files/oidc-agent-3.3.1_makefile-toolchain-vars.patch
@@ -42,7 +42,7 @@
        @gcc -dynamiclib -fpic -Wl, -o $@ $(PIC_OBJECTS) -lc
  else
 -      @gcc -shared -fpic -Wl,-soname,$(SONAME) -o $@ $(PIC_OBJECTS) -lc
-+      @gcc -shared -fpic -Wl,-soname,$(SONAME) $(LDFLAGS) -o $@ 
$(PIC_OBJECTS) -lc
++      @$(LINKER) -shared -fpic -Wl,-soname,$(SONAME) $(LDFLAGS) -o $@ 
$(PIC_OBJECTS) -lc
  endif
  
  .PHONY: shared_lib

Reply via email to