summaryrefslogtreecommitdiff
path: root/coredata.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2014-06-07 23:39:59 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2014-06-07 23:43:16 +0300
commit365f529c75a6b55278db2ee5749d26a29a56fa83 (patch)
tree777f5a526a9f5753c912bcd73a1204715eab3698 /coredata.py
parentf88779319d61e316bef8e5b3f9241cf2d80b3e6d (diff)
downloadmeson-365f529c75a6b55278db2ee5749d26a29a56fa83.tar.gz
Store build flags into coredata as it is persistent and needs to survive over Meson reconfigurations.
Diffstat (limited to 'coredata.py')
-rw-r--r--coredata.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/coredata.py b/coredata.py
index 75d387c7c..5ae1f823c 100644
--- a/coredata.py
+++ b/coredata.py
@@ -41,6 +41,8 @@ class CoreData():
self.unity = options.unity
self.coverage = options.coverage
self.user_options = {}
+ self.external_args = {} # These are set from "the outside" with e.g. mesonconf
+ self.external_link_args = {}
if options.cross_file is not None:
self.cross_file = os.path.join(os.getcwd(), options.cross_file)
else: