diff options
author | midipix <writeonce@midipix.org> | 2016-03-18 20:25:04 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-03-18 20:25:04 -0400 |
commit | a40c9a61fffde2ef0fed88168ec855177370f7e5 (patch) | |
tree | e94ba3cb4c7dac3ac254b68a3671f4b540d2b43a /src/logic/slbt_exec_ctx.c | |
parent | db30c2bebc9fa1437777a72c7e6d2fe62fa496d1 (diff) | |
download | slibtool-a40c9a61fffde2ef0fed88168ec855177370f7e5.tar.bz2 slibtool-a40c9a61fffde2ef0fed88168ec855177370f7e5.tar.xz |
slbt_reset_placeholders(): use -U rather than -D (compilation neutrality).
Diffstat (limited to 'src/logic/slbt_exec_ctx.c')
-rw-r--r-- | src/logic/slbt_exec_ctx.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/logic/slbt_exec_ctx.c b/src/logic/slbt_exec_ctx.c index afd130c..a8afe76 100644 --- a/src/logic/slbt_exec_ctx.c +++ b/src/logic/slbt_exec_ctx.c @@ -252,10 +252,10 @@ void slbt_free_exec_ctx(struct slbt_exec_ctx * ctx) void slbt_reset_placeholders(struct slbt_exec_ctx * ectx) { - *ectx->dpic = "-DSLIBTOOL_PLACEHOLDER_DPIC"; - *ectx->fpic = "-DSLIBTOOL_PLACEHOLDER_FPIC"; - *ectx->cass = "-DSLIBTOOL_PLACEHOLDER_COMPILE_ASSEMBLE"; + *ectx->dpic = "-USLIBTOOL_PLACEHOLDER_DPIC"; + *ectx->fpic = "-USLIBTOOL_PLACEHOLDER_FPIC"; + *ectx->cass = "-USLIBTOOL_PLACEHOLDER_COMPILE_ASSEMBLE"; - *ectx->lout[0] = "-DSLIBTOOL_PLACEHOLDER_OUTPUT_SWITCH"; - *ectx->lout[1] = "-DSLIBTOOL_PLACEHOLDER_OUTPUT_FILE"; + *ectx->lout[0] = "-USLIBTOOL_PLACEHOLDER_OUTPUT_SWITCH"; + *ectx->lout[1] = "-USLIBTOOL_PLACEHOLDER_OUTPUT_FILE"; } |