diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-05-22 11:34:19 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-05-22 11:34:19 +0200 |
commit | f352dbb8308ddeab5fa47a5d18883f854192ec53 (patch) | |
tree | 17bf76b6acf13711049cc54aa3948df6b27db3f6 /libbuild2/cc/common.hxx | |
parent | 630b498533f5a9a1e9d40893f4806ef855f1e03b (diff) |
Make template definition available in all translation units where used
We were trying to be clever but GCC 10's IPA-SRA optimization didn't like it.
Diffstat (limited to 'libbuild2/cc/common.hxx')
-rw-r--r-- | libbuild2/cc/common.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libbuild2/cc/common.hxx b/libbuild2/cc/common.hxx index 422b761..b47f225 100644 --- a/libbuild2/cc/common.hxx +++ b/libbuild2/cc/common.hxx @@ -1,4 +1,4 @@ -// file : build2/cc/common.hxx -*- C++ -*- +// file : libbuild2/cc/common.hxx -*- C++ -*- // license : MIT; see accompanying LICENSE file #ifndef LIBBUILD2_CC_COMMON_HXX @@ -382,4 +382,6 @@ namespace build2 } } +#include <libbuild2/cc/common.hxx> + #endif // LIBBUILD2_CC_COMMON_HXX |