From 5e954fef32ec8b630132c230793e0f3faca34e0a Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Mon, 1 Aug 2011 15:39:38 +0200 Subject: Set CONFIG_TCC_CRT_PREFIX relative to CONFIG_SYSROOT Set CONFIG_TCC_CRT_PREFIX relative to CONFIG_SYSROOT for consistency with CONFIG_TCC_LDDIR. --- tccelf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tccelf.c') diff --git a/tccelf.c b/tccelf.c index 3ac71cb..c0f1c94 100644 --- a/tccelf.c +++ b/tccelf.c @@ -1252,7 +1252,7 @@ ST_FUNC void tcc_add_runtime(TCCState *s1) } /* add crt end if not memory output */ if (s1->output_type != TCC_OUTPUT_MEMORY && !s1->nostdlib) { - tcc_add_file(s1, CONFIG_TCC_CRT_PREFIX "/crtn.o"); + tcc_add_file(s1, CONFIG_SYSROOT CONFIG_TCC_CRT_PREFIX "/crtn.o"); } } -- cgit v1.3.1