diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2014-11-29 21:33:44 +0300 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2014-11-29 21:49:38 +0300 |
commit | 0dd37af2105784da65f4fac9e46b0f9b1a7d54d6 (patch) | |
tree | c5a2fbab675216af400fa757273c33b4baa945ea | |
parent | b2c344978897b840d95ea65af047305e468e6074 (diff) | |
download | nasm-0dd37af2105784da65f4fac9e46b0f9b1a7d54d6.tar.gz |
nasm: Fix -MD operating mode
Previously -MD option didn't call for depend mode solely but
produced deps during active compilation phase allowing symbol
refereces processing as well.
Occasionally in commit 599a98 I made -MD option to handle deps
in a separate internal phase which caused problems like
| error: symbol references not supported in preprocess-only mode
leading to problems in building applications with nasm. Fix it
moving old behaviour back.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rw-r--r-- | nasm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -898,7 +898,7 @@ set_warning: depend_emit_phony = true; break; case 'D': - operating_mode = OP_DEPEND | OP_NORMAL; + operating_mode = OP_NORMAL; depend_file = q; advance = true; break; |