Skip to content
Snippets Groups Projects
Commit 202ae4cc authored by Michal Sojka's avatar Michal Sojka Committed by Felix Fietkau
Browse files

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: default avatarMichal Sojka <sojkam1@fel.cvut.cz>
parent 7096ed58
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment