[all-commits] [llvm/llvm-project] d970ab: Driver: Accept multiple --config options if filena...
Tom Stellard via All-commits
all-commits at lists.llvm.org
Tue Jun 16 12:24:26 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d970ab63e22eb5918774953da6b99ac27e5832a0
https://github.com/llvm/llvm-project/commit/d970ab63e22eb5918774953da6b99ac27e5832a0
Author: Tom Stellard <tstellar at redhat.com>
Date: 2020-06-16 (Tue, 16 Jun 2020)
Changed paths:
M clang/lib/Driver/Driver.cpp
M clang/test/Driver/config-file.c
Log Message:
-----------
Driver: Accept multiple --config options if filenames are the same
Summary:
We're trying to use the --config options to pass distro specific
options for Fedora via the CFLAGS variable. However, some projects
end up using the CFLAGS variable multiple times in their command line,
which leads to an error when --config is used.
This patch resolves this issue by allowing more than one --config option
on the command line as long as the file names are the same.
Reviewers: sepavloff, hfinkel
Reviewed By: sepavloff
Subscribers: cfe-commits, llvm-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D81424
More information about the All-commits
mailing list