summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNomis101 <[email protected]>2019-07-19 22:49:28 +0200
committerBradley Sepos <[email protected]>2019-07-19 17:24:30 -0400
commite17eedc1cade5d99be6d85207f32020c19763948 (patch)
treeb88f26423caf4616815e86e3f330640a694472ae
parent18461054b9fbf622809122ceedb32633444d4f3e (diff)
build: Change hardening logic from None to False in configure.py.
-rw-r--r--make/configure.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/configure.py b/make/configure.py
index 1746f7a74..8d39941c5 100644
--- a/make/configure.py
+++ b/make/configure.py
@@ -1381,7 +1381,7 @@ def createCLI( cross = None ):
arch.mode.cli_add_argument( grp, '--arch' )
grp.add_argument( '--cross', default=None, action='store', metavar='SPEC',
help='specify GCC cross-compilation spec' )
- grp.add_argument( '--enable-hardening', dest="enable_host_harden", default=None, action='store_true',
+ grp.add_argument( '--enable-hardening', dest="enable_host_harden", default=False, action='store_true',
help='enable buffer overflow protection' )
cli.add_argument_group( grp )
@@ -1932,7 +1932,7 @@ int main()
doc.add( 'HOST.cross.prefix', '' )
doc.add( 'HOST.arch', arch.mode.mode )
- doc.add( 'HOST.harden', int( options.enable_host_harden != None))
+ doc.add( 'HOST.harden', int( options.enable_host_harden) )
doc.addBlank()
doc.add( 'SRC', cfg.src_final )