Fix a bug: the absence of a space between options could cause

Estimated hours taken: 0.1
Branches: main

compiler/compile_target_code.m:
	Fix a bug: the absence of a space between options could cause
	two to run together, confusing the C compiler.
This commit is contained in:
Zoltan Somogyi
2003-03-12 08:01:46 +00:00
parent c70092f5ce
commit c48b2db894

View File

@@ -543,7 +543,8 @@ compile_c_file(ErrorStream, PIC, C_File, O_File, Succeeded) -->
globals__io_lookup_bool_option(target_debug, Target_Debug),
( { Target_Debug = yes } ->
globals__io_lookup_string_option(cflags_for_debug,
Target_DebugOpt)
Target_DebugOpt0),
{ string__append(Target_DebugOpt0, " ", Target_DebugOpt) }
;
{ Target_DebugOpt = "" }
),