diff options
author | Michal Sojka <sojkam1@fel.cvut.cz> | 2017-02-02 12:13:03 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2017-12-13 14:24:21 +0100 |
commit | 94f079e338d69f885645d2c99f235626b0ad2137 (patch) | |
tree | 6f5dca3b68a39b16413e8e9c11b888bc8b33d489 /scripts/rstrip.sh | |
parent | 3056122bf7d5a227b4c581a3b7f47680ac999952 (diff) | |
download | mtk-20170518-94f079e338d69f885645d2c99f235626b0ad2137.zip mtk-20170518-94f079e338d69f885645d2c99f235626b0ad2137.tar.gz mtk-20170518-94f079e338d69f885645d2c99f235626b0ad2137.tar.bz2 |
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>
(cherry picked from commit 202ae4cc6a910dec2441c45dfdf5814ac4d82518)
Diffstat (limited to 'scripts/rstrip.sh')
0 files changed, 0 insertions, 0 deletions