Message ID | 5be5a85c-f0aa-1780-2ebb-57b88f9e1715@gjlay.de |
---|---|
State | New |
Headers | show |
Index: config/avr/genmultilib.awk =================================================================== --- config/avr/genmultilib.awk (revision 248332) +++ config/avr/genmultilib.awk (working copy) @@ -123,7 +123,7 @@ BEGIN { have[opts] = 1 # Some special handling for the default mmcu: Remove a # leading "mmcu=avr2/" in order not to confuse genmultilib. - opts = gensub (/mmcu=avr2\//, "", 1, opts) + gsub (/^mmcu=avr2\//, "", opts) if (opts != "mmcu=avr2") m_required = m_required " \\\n\t" opts }