-fnormalize-inc-dirs

remove non-existent or duplicate directories from include paths
    if -fnormalize-inc-dirs is specified. This will help
    to compile current coreutils package
This commit is contained in:
seyko
2016-04-03 11:42:15 +03:00
parent 2bf43b5483
commit 41785a0bf9
3 changed files with 96 additions and 1 deletions

3
tcc.h
View File

@ -647,7 +647,8 @@ struct TCCState {
int old_struct_init_code; /* use old algorithm to init array in struct when there is no '{' used.
Liuux 2.4.26 can't find initrd when compiled with a new algorithm */
int dollars_in_identifiers; /* allows '$' char in indentifiers */
int normalize_inc_dirs; /* remove non-existent or duplicate directories from include paths */
/* warning switches */
int warn_write_strings;
int warn_unsupported;