summaryrefslogtreecommitdiff
path: root/async.c
diff options
context:
space:
mode:
authorDmitri Vorobiev <dmitri.vorobiev@movial.com>2017-12-28 11:42:45 +0200
committerDmitri Vorobiev <dmitri.vorobiev@movial.com>2017-12-28 11:42:45 +0200
commit12a9d1a32b567ad933ec62528ca4a476f514b5da (patch)
treeae2485e5c498479fb950ca2c10c6c4f52f38e068 /async.c
parent3238cf4fe7c0799f997a6c77c42b3884dc4cfa0d (diff)
Strip compiler options from the CC variable
The Makefile checks validity of the compiler command in the CC variable by feeding the contents of that variable to the `type' utility. Some environments include compiler options in the CC variable such as architecture specific tuning flags. For such cases it is necessary to first strip everything except the command itself from the contents of the CC variable prior to checking the command with the type utility, which is what this patch is introducing. We use shell parameter expansion mechanism for this purpose. Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
Diffstat (limited to 'async.c')
0 files changed, 0 insertions, 0 deletions