diff options
author | Simon Warta <[email protected]> | 2017-04-25 21:45:59 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2017-04-25 23:54:04 +0200 |
commit | 60baaa693864a6ab2be9917666953f1dc7d37854 (patch) | |
tree | 0858c166604a0e6293c2174d95ee18816c7c57b9 /configure.py | |
parent | a5dd62ee1a56c48f6b6232fd264afab1452d7b8f (diff) |
Remove extra code branch for house_ecc_curve_defines
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/configure.py b/configure.py index 1c38a86e3..bad2b2f7c 100755 --- a/configure.py +++ b/configure.py @@ -1900,13 +1900,10 @@ def create_template_vars(source_paths, build_config, options, modules, cc, arch, 'python_version': options.python_version, 'with_sphinx': options.with_sphinx, + 'house_ecc_curve_defines': make_cpp_macros(HouseEccCurve(options.house_curve).defines()) \ + if options.house_curve else '' } - if options.house_curve: - variables['house_ecc_curve_defines'] = make_cpp_macros(HouseEccCurve(options.house_curve).defines()) - else: - variables['house_ecc_curve_defines'] = '' - if options.build_shared_lib: if osinfo.soname_pattern_base != None: |