diff options
author | midipix <writeonce@midipix.org> | 2024-03-08 17:00:23 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-03-08 17:00:23 +0000 |
commit | abd6f6b98464e97133450b13cdf6ed304f48bf9a (patch) | |
tree | 43dd8555302a0367fa208c97011250ed17909133 /src/logic/slbt_exec_compile.c | |
parent | a0573f2c1dc139b61eca27ad9af3956a5439d54d (diff) | |
download | slibtool-abd6f6b98464e97133450b13cdf6ed304f48bf9a.tar.bz2 slibtool-abd6f6b98464e97133450b13cdf6ed304f48bf9a.tar.xz |
compile mode: add -fPIC for shared objects compiled with --tag=FC.
Diffstat (limited to 'src/logic/slbt_exec_compile.c')
-rw-r--r-- | src/logic/slbt_exec_compile.c | 1 |
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; |