aboutsummaryrefslogtreecommitdiff
path: root/rakelib/gcc.rake
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-10-08 19:45:19 +0200
committerEugen Wissner <belka@caraus.de>2026-10-08 19:45:19 +0200
commit7d07bef760a8807fe49fbe5c90799a1822f95973 (patch)
tree8b8d8ed0003dc61c4bd7313df86f6cbaea3d4b82 /rakelib/gcc.rake
parentd392f0c54a7748b816ab327758ae835f73cd1c0a (diff)
downloadelna-7d07bef760a8807fe49fbe5c90799a1822f95973.tar.gz
Make modules re-exportable
Diffstat (limited to 'rakelib/gcc.rake')
-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)