aboutsummaryrefslogtreecommitdiff
path: root/rakelib
diff options
context:
space:
mode:
Diffstat (limited to 'rakelib')
-rw-r--r--rakelib/gcc.rake5
1 files changed, 3 insertions, 2 deletions
diff --git a/rakelib/gcc.rake b/rakelib/gcc.rake
index 6dce877..aeffd06 100644
--- a/rakelib/gcc.rake
+++ b/rakelib/gcc.rake
@@ -130,8 +130,9 @@ end
def multi_module_extra_sources(test_target)
sources = test_target.glob('**/*.elna')
- .map { |extra| %("#{extra.relative_path_from(test_target)}") }
- "(* { dg-additional-sources #{sources * ' '} } *)"
+ .map { |extra| extra.relative_path_from(test_target) }
+ .sort
+ "(* { dg-additional-sources \"#{sources * ' '}\" } *)"
end
def convert_multi_module_test(test_path, test_target, category)