From: nasm-bot f. C. G. <gor...@gm...> - 2014-11-29 21:24:30
|
Commit-ID: 0dd37af2105784da65f4fac9e46b0f9b1a7d54d6 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=0dd37af2105784da65f4fac9e46b0f9b1a7d54d6 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sat, 29 Nov 2014 21:33:44 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sat, 29 Nov 2014 21:49:38 +0300 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 <gor...@gm...> --- nasm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nasm.c b/nasm.c index ac46afd..37b40b0 100644 --- a/nasm.c +++ b/nasm.c @@ -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; |