summaryrefslogtreecommitdiff
path: root/test/profile
diff options
context:
space:
mode:
authorFrancis Ricci <francisjricci@gmail.com>2017-01-10 04:33:04 +0000
committerFrancis Ricci <francisjricci@gmail.com>2017-01-10 04:33:04 +0000
commit9f93113ee5c1cc0fbbb8a5386e30df333924de83 (patch)
tree7679c109c93068320b5f37f92248d2754de04eac /test/profile
parent8f1700544049edd19dc47d0597d8230c619d84d0 (diff)
Make cmake link flag naming consistent
Summary: The build system was inconsistent in its naming conventions for link flags. This patch changes all uses of LINKFLAGS to LINK_FLAGS, for consistency with cmake's LINK_FLAGS property. This patch should make it easier to search the source code for uses of link flags, as well as providing the benefit of improved style and consistency. Reviewers: compnerd, beanz Subscribers: kubabrecka, llvm-commits, mgorny Differential Revision: https://reviews.llvm.org/D28506 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@291539 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/profile')
-rw-r--r--test/profile/lit.cfg6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/profile/lit.cfg b/test/profile/lit.cfg
index a6e6ef81c..9ca394212 100644
--- a/test/profile/lit.cfg
+++ b/test/profile/lit.cfg
@@ -34,9 +34,9 @@ if config.test_exec_root is None:
raise SystemExit
if config.host_os in ['Linux']:
- extra_linkflags = ["-ldl"]
+ extra_link_flags = ["-ldl"]
else:
- extra_linkflags = []
+ extra_link_flags = []
# Test suffixes.
config.suffixes = ['.c', '.cc', '.cpp', '.m', '.mm', '.ll', '.test']
@@ -46,7 +46,7 @@ config.excludes = ['Inputs']
# Clang flags.
target_cflags=[get_required_attr(config, "target_cflags")]
-clang_cflags = target_cflags + extra_linkflags
+clang_cflags = target_cflags + extra_link_flags
clang_cxxflags = config.cxx_mode_flags + clang_cflags
def build_invocation(compile_flags, with_lto = False):