summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-03-08 17:00:23 +0000
committermidipix <writeonce@midipix.org>2024-03-08 17:00:23 +0000
commitabd6f6b98464e97133450b13cdf6ed304f48bf9a (patch)
tree43dd8555302a0367fa208c97011250ed17909133
parenta0573f2c1dc139b61eca27ad9af3956a5439d54d (diff)
downloadslibtool-abd6f6b98464e97133450b13cdf6ed304f48bf9a.tar.bz2
slibtool-abd6f6b98464e97133450b13cdf6ed304f48bf9a.tar.xz
compile mode: add -fPIC for shared objects compiled with --tag=FC.
-rw-r--r--src/logic/slbt_exec_compile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/logic/slbt_exec_compile.c b/src/logic/slbt_exec_compile.c
index 193bb5a..cddb057 100644
--- a/src/logic/slbt_exec_compile.c
+++ b/src/logic/slbt_exec_compile.c
@@ -201,6 +201,7 @@ int slbt_exec_compile(const struct slbt_driver_ctx * dctx)
case SLBT_TAG_CC:
case SLBT_TAG_CXX:
case SLBT_TAG_F77:
+ case SLBT_TAG_FC:
fpic = cctx->settings.picswitch
? cctx->settings.picswitch
: *ectx->fpic;