summaryrefslogtreecommitdiff
path: root/src/logic/slbt_exec_compile.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-03-04 20:14:53 -0500
committermidipix <writeonce@midipix.org>2018-03-04 20:14:53 -0500
commitd332273eba3af3d1161c64fd391c7af7586bb2f7 (patch)
treeeb5a840685785d9a700b995b70e3e45a644f129d /src/logic/slbt_exec_compile.c
parent34a96e7d23ab616857230fdfc642c5560cfd079d (diff)
downloadslibtool-d332273eba3af3d1161c64fd391c7af7586bb2f7.tar.bz2
slibtool-d332273eba3af3d1161c64fd391c7af7586bb2f7.tar.xz
compile mode: gnu libtool compatibility: do not add -c to compiler arguments.
Diffstat (limited to 'src/logic/slbt_exec_compile.c')
-rw-r--r--src/logic/slbt_exec_compile.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/logic/slbt_exec_compile.c b/src/logic/slbt_exec_compile.c
index 2612f4a..e8599fd 100644
--- a/src/logic/slbt_exec_compile.c
+++ b/src/logic/slbt_exec_compile.c
@@ -71,15 +71,6 @@ int slbt_exec_compile(
*ectx->fpic = "-fPIC";
}
- switch (dctx->cctx->tag) {
- case SLBT_TAG_NASM:
- break;
-
- default:
- *ectx->cass = "-c";
- break;
- }
-
*ectx->lout[0] = "-o";
*ectx->lout[1] = ectx->lobjname;
@@ -105,15 +96,6 @@ int slbt_exec_compile(
*ectx->fpic = "-fPIC";
}
- switch (dctx->cctx->tag) {
- case SLBT_TAG_NASM:
- break;
-
- default:
- *ectx->cass = "-c";
- break;
- }
-
*ectx->lout[0] = "-o";
*ectx->lout[1] = ectx->aobjname;