summaryrefslogtreecommitdiff
path: root/testsuite/driver/extra_files.py
diff options
context:
space:
mode:
authorBartosz Nitka <niteria@gmail.com>2017-01-21 09:59:55 -0800
committerBartosz Nitka <niteria@gmail.com>2017-01-21 10:00:12 -0800
commitf9ccad236fa6042a3abbb655129f47fe9dadceaf (patch)
treeded82c41ef05fe429cbabee10ae730795e5774bc /testsuite/driver/extra_files.py
parent15b9a85ef03e2729d487a6f8460be8880c797609 (diff)
downloadhaskell-f9ccad236fa6042a3abbb655129f47fe9dadceaf.tar.gz
Always use -Xlinker for -rpath
Currently we use `-Wl` which takes a list of comma-separated options. Unfortunately that breaks when you use it with `-rpath` and a path that has commas in them. Buck, the build system, produces paths with commas in them. `-Xlinker` doesn't have this disadvantage and as far as I can tell is supported by both `gcc` and `clang`. Anecdotally `nvcc` supports `-Xlinker`, but not `-Wl`. Test Plan: ./validate, harbourmaster Reviewers: nomeata, simonmar, austin, bgamari, hvr Reviewed By: simonmar, bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2971
Diffstat (limited to 'testsuite/driver/extra_files.py')
-rw-r--r--testsuite/driver/extra_files.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/driver/extra_files.py b/testsuite/driver/extra_files.py
index 217e5d437a..3f2cf5cc4b 100644
--- a/testsuite/driver/extra_files.py
+++ b/testsuite/driver/extra_files.py
@@ -428,6 +428,7 @@ extra_src_files = {
'parser.prog001': ['Read006.hs', 'Read007.hs'],
'pat-syn-bundle': ['Bundle1.hs', 'BundleInternal1.hs'],
'pat-syn-trans-bundle': ['Bundle.hs', 'BundleInternal.hs', 'TransBundle.hs'],
+ 'path_with_commas': ['test.pkg', 'Main.hs', 'Dummy.hs'],
'pkg02': ['A.hs', 'Foreign.hs'],
'plugins01': ['simple-plugin/'],
'plugins02': ['simple-plugin/'],