From 9ca18555b2cdac25c48fe78e0aeacc4cd7010c6c Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Mon, 1 May 2017 15:00:50 -0400 Subject: [PATCH] Bug 1360299 - When --enable-hardening is used, --enable-pie will be automatically enabled r=froydnj r=froydnj MozReview-Commit-ID: 7QFOTzSlXSj --HG-- extra : rebase_source : 3dfde8102bdaf5afcd3fb4c9b5e9b78023e2d779 --- build/moz.configure/toolchain.configure | 1 + 1 file changed, 1 insertion(+) diff --git a/build/moz.configure/toolchain.configure b/build/moz.configure/toolchain.configure index b2cc0d9bd879..cc330558b485 100644 --- a/build/moz.configure/toolchain.configure +++ b/build/moz.configure/toolchain.configure @@ -1008,3 +1008,4 @@ def security_hardening_cflags(value, c_compiler): return '-fstack-protector-strong' add_old_configure_assignment('HARDENING_CFLAGS', security_hardening_cflags) +imply_option('--enable-pie', depends_if('--enable-hardening')(lambda v: v))