mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
0173d3bd90
latest tinycc is able to build gcc 4.6.4
11 lines
312 B
Diff
11 lines
312 B
Diff
--- libtcc.c
|
|
+++ libtcc.c
|
|
@@ -793,6 +793,7 @@ LIBTCCAPI TCCState *tcc_new(void)
|
|
|
|
s->gnu_ext = 1;
|
|
s->tcc_ext = 1;
|
|
+ s->static_link = 1;
|
|
s->nocommon = 1;
|
|
s->dollars_in_identifiers = 1; /*on by default like in gcc/clang*/
|
|
s->cversion = 199901; /* default unless -std=c11 is supplied */
|