From 78e83d8761afb792f1a848ade7e1f97a21283a5e Mon Sep 17 00:00:00 2001 From: Detlef Riekenberg Date: Mon, 5 Apr 2010 21:21:58 +0200 Subject: libtcc: Allow multiple options for -Wl separated with ',' I moved the code to libtcc to prepare for a later tiny_ld -- By by ... Detlef --- libtcc.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libtcc.h') diff --git a/libtcc.h b/libtcc.h index b661fda..c25ab0f 100644 --- a/libtcc.h +++ b/libtcc.h @@ -31,6 +31,9 @@ LIBTCCAPI void tcc_set_error_func(TCCState *s, void *error_opaque, /* set/reset a warning */ 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); + /*****************************/ /* preprocessor */ -- cgit v1.3.1