summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2020-09-07 18:42:15 +0200
committerMarek Szuba <marecki@gentoo.org>2020-09-07 18:49:08 +0200
commit5f717280766c3995fa3b232a084c48c5a7c088ae (patch)
treec656d4867df71302104cfa156a84ef4a56fc4934 /net-misc
parentwww-apps/drupal: Bump to 8.8.9, 8.9.5 and 9.0.5 releases. (diff)
downloadgentoo-5f717280766c3995fa3b232a084c48c5a7c088ae.tar.gz
gentoo-5f717280766c3995fa3b232a084c48c5a7c088ae.tar.bz2
gentoo-5f717280766c3995fa3b232a084c48c5a7c088ae.zip
net-misc/oidc-agent: respect CC while linking the shared library
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/oidc-agent/files/oidc-agent-3.3.1_makefile-toolchain-vars.patch2
1 files changed, 1 insertions, 1 deletions
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 1441cdc13199..dda1ab252214 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