build: Pass -iremap gcc option as a single argument

Passing -iremap argument separately causes problems with projects that
use scons and its ParseFlags function. Consider this SConscript
example:

    env = Environment()
    d = env.ParseFlags("-iremap one:two")

ParseFlags will interpret one:two as a file name and the returned dict
d will contain only "-iremap". When the -iremap is passed to the
compiler without an argument, compilation obviously fails.

Signed-off-by: Michal Sojka <sojkam1@fel.cvut.cz>
v19.07.3_mercusys_ac12_duma
Michal Sojka 7 years ago committed by Felix Fietkau
parent 7096ed58fd
commit 202ae4cc6a
Loading…
Cancel
Save