mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-22 05:47:31 +02:00
Cleanup space in ivlpp command generation
This commit is contained in:
+4
-4
@@ -355,15 +355,15 @@ static int t_version_only(void)
|
|||||||
|
|
||||||
static void build_preprocess_command(int e_flag)
|
static void build_preprocess_command(int e_flag)
|
||||||
{
|
{
|
||||||
snprintf(tmp, sizeof tmp, "%s%civlpp %s%s%s -F\"%s\" -f\"%s\" -p\"%s\"%s",
|
snprintf(tmp, sizeof tmp, "%s%civlpp%s%s%s -F\"%s\" -f\"%s\" -p\"%s\"%s",
|
||||||
ivlpp_dir, sep,
|
ivlpp_dir, sep,
|
||||||
verbose_flag ? " -v" : "",
|
verbose_flag ? " -v" : "",
|
||||||
e_flag ? "" : " -L",
|
e_flag ? "" : " -L",
|
||||||
strchr(warning_flags, 'r') ? " -Wredef-all " :
|
strchr(warning_flags, 'r') ? " -Wredef-all" :
|
||||||
strchr(warning_flags, 'R') ? " -Wredef-chg " : "",
|
strchr(warning_flags, 'R') ? " -Wredef-chg" : "",
|
||||||
defines_path, source_path,
|
defines_path, source_path,
|
||||||
compiled_defines_path,
|
compiled_defines_path,
|
||||||
e_flag ? "" : " | ");
|
e_flag ? "" : " |");
|
||||||
}
|
}
|
||||||
|
|
||||||
static int t_preprocess_only(void)
|
static int t_preprocess_only(void)
|
||||||
|
|||||||
Reference in New Issue
Block a user