File tcc-0.9.27-ignore-opt.patch of Package tcc

diff -Ndurp tcc-0.9.27/libtcc.c tcc-0.9.27-ignore-opt/libtcc.c
--- tcc-0.9.27/libtcc.c	2017-12-12 18:57:20.000000000 +0200
+++ tcc-0.9.27-ignore-opt/libtcc.c	2017-12-24 03:18:21.077192831 +0200
@@ -1477,6 +1477,7 @@ enum {
     TCC_OPTION_run,
     TCC_OPTION_w,
     TCC_OPTION_pipe,
+    TCC_OPTION_specs,
     TCC_OPTION_E,
     TCC_OPTION_MD,
     TCC_OPTION_MF,
@@ -1541,6 +1542,7 @@ static const TCCOption tcc_options[] = {
     { "print-search-dirs", TCC_OPTION_print_search_dirs, 0 },
     { "w", TCC_OPTION_w, 0 },
     { "pipe", TCC_OPTION_pipe, 0},
+    { "specs", TCC_OPTION_specs, TCC_OPTION_HAS_ARG },
     { "E", TCC_OPTION_E, 0},
     { "MD", TCC_OPTION_MD, 0},
     { "MF", TCC_OPTION_MF, TCC_OPTION_HAS_ARG },
@@ -1924,6 +1926,8 @@ reparse:
             break;
         case TCC_OPTION_traditional:
         case TCC_OPTION_pedantic:
+        case TCC_OPTION_param:
+        case TCC_OPTION_specs:
         case TCC_OPTION_pipe:
         case TCC_OPTION_s:
             /* ignored */
openSUSE Build Service is sponsored by