diff options
author | Richard Levitte <levitte@openssl.org> | 2016-10-14 16:56:34 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-11-05 08:13:04 +0100 |
commit | b96ab5e6d0125c7e2a6804d568cb2a732cbf4504 (patch) | |
tree | 474adbf96faeb2b365487e21085e5424ab9036a9 /Configurations/common.tmpl | |
parent | c1da4b2afe62644f42f95a8788cd80b0a4925e0c (diff) | |
download | openssl-new-b96ab5e6d0125c7e2a6804d568cb2a732cbf4504.tar.gz |
Build: make it possible to assign macro definitions for specific outputs
Sometimes, some specific program or object file might need an extra
macro definition of its own. This allows that to be easily done.
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/7553)
Diffstat (limited to 'Configurations/common.tmpl')
-rw-r--r-- | Configurations/common.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Configurations/common.tmpl b/Configurations/common.tmpl index 4a086559c1..b7d2a0777e 100644 --- a/Configurations/common.tmpl +++ b/Configurations/common.tmpl @@ -85,6 +85,7 @@ deps => $unified_info{depends}->{$src}, incs => [ @{$unified_info{includes}->{$obj}}, @{$unified_info{includes}->{$bin}} ], + defs => $unified_info{defines}->{$obj}, %opts); foreach (@{$unified_info{depends}->{$src}}) { dogenerate($_, $obj, $bin, %opts); @@ -107,6 +108,7 @@ deps => $unified_info{depends}->{$obj}, incs => [ @{$unified_info{includes}->{$obj}}, @{$unified_info{includes}->{$bin}} ], + defs => $unified_info{defines}->{$obj}, %opts); foreach ((@{$unified_info{sources}->{$obj}}, @{$unified_info{depends}->{$obj}})) { |