Also parse -Dfoo in libtcc_test_mt

otherwise the -DTCC_ARM_VFP doesn't get through.
mob
Michael Matz 2019-12-12 01:39:58 +01:00
parent 8b23662d53
commit 83f822d0cd
1 changed files with 2 additions and 1 deletions

View File

@ -108,7 +108,8 @@ void parse_args(TCCState *s)
*eq = 0; *eq = 0;
tcc_define_symbol(s, a+2, eq+1); tcc_define_symbol(s, a+2, eq+1);
*eq = '='; *eq = '=';
} } else
tcc_define_symbol(s, a+2, NULL);
} }
} }
} }