libtcc: Detect (but ignore) -init and -fini for -Wl

--
By by ... Detlef
This commit is contained in:
Detlef Riekenberg
2010-04-05 22:56:33 +02:00
parent 87574de8ed
commit 34dabe496f
4 changed files with 26 additions and 13 deletions

View File

@ -32,7 +32,7 @@ LIBTCCAPI void tcc_set_error_func(TCCState *s, void *error_opaque,
LIBTCCAPI int tcc_set_warning(TCCState *s, const char *warning_name, int value);
/* set linker option */
LIBTCCAPI const char * tcc_set_linker(TCCState *s, const char *option, int multi);
LIBTCCAPI const char * tcc_set_linker(TCCState *s, char *option, int multi);
/*****************************/
/* preprocessor */