summaryrefslogtreecommitdiff
path: root/odb/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'odb/buildfile')
-rw-r--r--odb/buildfile8
1 files changed, 6 insertions, 2 deletions
diff --git a/odb/buildfile b/odb/buildfile
index 8e931ad..2625e0d 100644
--- a/odb/buildfile
+++ b/odb/buildfile
@@ -67,12 +67,16 @@ exe{odb}: plugin{odb}: include = adhoc
# Target metadata, see also --build2-metadata in odb.cxx.
#
+# While ODB itself doesn't use any environment variables, it uses GCC
+# underneath which does (see "Environment Variables Affecting GCC").
+#
exe{odb}:
{
export.metadata = 1 odb
odb.name = [string] odb
- odb.version = $version
- odb.checksum = $version
+ odb.version = [string] $version
+ odb.checksum = [string] $version
+ odb.environment = [strings] CPATH CPLUS_INCLUDE_PATH GCC_EXEC_PREFIX COMPILER_PATH
}
plugin{odb}: libus{odb}