summaryrefslogtreecommitdiffhomepage
path: root/tasks
diff options
context:
space:
mode:
authorwanabe <[email protected]>2016-03-13 17:06:39 +0900
committerwanabe <[email protected]>2016-03-13 17:06:39 +0900
commit2aa6b449a22d5f239cb91b91dcfb0c944c2b5665 (patch)
tree97740d9cadeca0d37f0ed808767fb380c4fbc1fc /tasks
parent41d6ba23b512147497589efbe87a445256d5b213 (diff)
downloadmruby-2aa6b449a22d5f239cb91b91dcfb0c944c2b5665.tar.gz
mruby-2aa6b449a22d5f239cb91b91dcfb0c944c2b5665.zip
Reduce compiler include_paths
Diffstat (limited to 'tasks')
-rw-r--r--tasks/mrbgem_spec.rake3
1 files changed, 3 insertions, 0 deletions
diff --git a/tasks/mrbgem_spec.rake b/tasks/mrbgem_spec.rake
index e91823029..548f1e041 100644
--- a/tasks/mrbgem_spec.rake
+++ b/tasks/mrbgem_spec.rake
@@ -413,9 +413,12 @@ module MRuby
# as circular dependency has already detected in the caller.
import_include_paths(dep_g)
+ dep_g.export_include_paths.uniq!
g.compilers.each do |compiler|
compiler.include_paths += dep_g.export_include_paths
g.export_include_paths += dep_g.export_include_paths
+ compiler.include_paths.uniq!
+ g.export_include_paths.uniq!
end
end
end