Hello, There are a few EXTRA_SPECS rules that are used to custom target runtime support. For instance, "ldruntime" is used on superh for board configurations and dynamically support different runtime behaviors.
Illustration of this use with a silly reduced spec *ldruntime: + %{mfoo: -lfoo} The same kind of example could be found with the x86 cc1_cpu spec rules, However since revision: ------------------------------------------------------------------------ r171307 | jsm28 | 2011-03-22 23:19:01 +0100 (Tue, 22 Mar 2011) | 5 lines * gcc.c (driver_unknown_option_callback): Only permit and save unknown -Wno- options. (driver_wrong_lang_callback): Save options directly instead of via driver_unknown_option_callback. ------------------------------------------------------------------------ using a spec defined option result in driver error: gcc: error: unrecognized command line option '-mfoo' Making the driver aware about all possible user defined options seems unpredictable. Was there any justification on removing this functionality or did I miss a point with the EXTRA_SPECS ? Any thought ? Thanks a lot, Christian