bmk
bmk copied to clipboard
Fix: Correct no-exceptions removal for cc_opts
"print" is incorrect but not caught as error messages in the bmk files are ignored there.
I used the chance to bring both ifs "together".
Attention: This is variant1, there is variant2 too: https://github.com/bmx-ng/bmk/pull/137
It depends on what you want:
variant1 assumes that fno-exception is just to remove from cc_opts.
variant2 assumes that fno-exceptions should be removed from cc_opts AND opts.