summaryrefslogtreecommitdiff
path: root/modules/SCsub
diff options
context:
space:
mode:
authorRhody Lugo <rhodylugo@gmail.com>2017-11-28 16:27:57 -0400
committerRhody Lugo <rhodylugo@gmail.com>2017-11-28 23:24:12 -0400
commita65c0939fd1adc616275ad01996917fab89a7b9c (patch)
tree60fb5469a28c4ec482b8d3b9cad183daa1b654d1 /modules/SCsub
parent24baf79c5e30b75f8370c24239a00085d7ad803f (diff)
disable caching for targets using helper functions
Diffstat (limited to 'modules/SCsub')
-rw-r--r--modules/SCsub3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/SCsub b/modules/SCsub
index ea8b58b8c5..e3c535e981 100644
--- a/modules/SCsub
+++ b/modules/SCsub
@@ -17,7 +17,6 @@ for x in env.module_list:
env_modules.Append(CPPFLAGS=["-DMODULE_" + x.upper() + "_ENABLED"])
SConscript(x + "/SCsub")
-lib = env_modules.Library("modules", env.modules_sources)
-env_modules.NoCache(lib)
+lib = env_modules.add_library("modules", env.modules_sources)
env.Prepend(LIBS=[lib])