From 83f822d0cd8f2c4c6796bd0ce2b9b44705e7e36c Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Thu, 12 Dec 2019 01:39:58 +0100 Subject: [PATCH] Also parse -Dfoo in libtcc_test_mt otherwise the -DTCC_ARM_VFP doesn't get through. --- tests/libtcc_test_mt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/libtcc_test_mt.c b/tests/libtcc_test_mt.c index 56294e4..c2324bf 100644 --- a/tests/libtcc_test_mt.c +++ b/tests/libtcc_test_mt.c @@ -108,7 +108,8 @@ void parse_args(TCCState *s) *eq = 0; tcc_define_symbol(s, a+2, eq+1); *eq = '='; - } + } else + tcc_define_symbol(s, a+2, NULL); } } }