mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 08:18:49 -04:00
Closes: https://bugs.gentoo.org/855470 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
43 lines
1.6 KiB
Diff
43 lines
1.6 KiB
Diff
Description: disable static linking for native libraries.
|
|
Author: Gilles Filippini <pini@debian.org>
|
|
--- a/make/gluegen-cpptasks-base.xml
|
|
+++ b/make/gluegen-cpptasks-base.xml
|
|
@@ -1262,20 +1262,14 @@
|
|
<!-- Unix linker configuration -->
|
|
|
|
<linker id="linker.cfg.linux" name="${gcc.compat.compiler}">
|
|
- <linkerarg value="-static-libgcc" if="isGCC"/>
|
|
- <linkerarg value="-static-libstdc++" if="isGCC"/>
|
|
</linker>
|
|
|
|
<linker id="linker.cfg.linux.x86" name="${gcc.compat.compiler}">
|
|
<linkerarg value="-m32"/>
|
|
- <linkerarg value="-static-libgcc" if="isGCC"/>
|
|
- <linkerarg value="-static-libstdc++" if="isGCC"/>
|
|
</linker>
|
|
|
|
<linker id="linker.cfg.linux.amd64" name="${gcc.compat.compiler}">
|
|
<linkerarg value="-m64"/>
|
|
- <linkerarg value="-static-libgcc" if="isGCC"/>
|
|
- <linkerarg value="-static-libstdc++" if="isGCC"/>
|
|
</linker>
|
|
|
|
<!-- Using default compiler settings - utilize:
|
|
@@ -1286,16 +1280,12 @@
|
|
<linkerarg value="-fpic" />
|
|
<linkerarg value="-nostdlib" />
|
|
<linkerarg value="-Bdynamic" />
|
|
- <linkerarg value="-static-libgcc" if="isGCC"/>
|
|
- <linkerarg value="-static-libstdc++" if="isGCC"/>
|
|
</linker>
|
|
|
|
<linker id="linker.cfg.linux.aarch64" name="${gcc.compat.compiler}">
|
|
<linkerarg value="-fpic" />
|
|
<linkerarg value="-nostdlib" />
|
|
<linkerarg value="-Bdynamic" />
|
|
- <linkerarg value="-static-libgcc" if="isGCC"/>
|
|
- <linkerarg value="-static-libstdc++" if="isGCC"/>
|
|
</linker>
|
|
|
|
<linker id="linker.cfg.linux.armv6.armhf" name="${gcc.compat.compiler}">
|