From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Oleksij Rempel Date: Fri, 24 Apr 2020 09:08:52 +0200 Message-Id: <20200424070853.20792-12-o.rempel@pengutronix.de> In-Reply-To: <20200424070853.20792-1-o.rempel@pengutronix.de> References: <20200424070853.20792-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Subject: [DistroKit] [PATCH v2 12/13] MIPS: enable GLIBCXX_ASSERTION List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: distrokit-bounces@pengutronix.de Sender: "DistroKit" To: distrokit@pengutronix.de Cc: Oleksij Rempel Tis enables extra error checking in the form of precondition assertions, such as bounds checking in strings and null pointer checks when dereferencing smart pointers. Signed-off-by: Oleksij Rempel --- configs/platform-mips/platformconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/platform-mips/platformconfig b/configs/platform-mips/platformconfig index 51f9a15..47c9cd2 100644 --- a/configs/platform-mips/platformconfig +++ b/configs/platform-mips/platformconfig @@ -82,7 +82,7 @@ PTXCONF_TARGET_HARDEN_FORTIFY=y PTXCONF_TARGET_HARDEN_RELRO=y PTXCONF_TARGET_HARDEN_BINDNOW=y PTXCONF_TARGET_HARDEN_PIE=y -# PTXCONF_TARGET_HARDEN_GLIBCXX_ASSERTIONS is not set +PTXCONF_TARGET_HARDEN_GLIBCXX_ASSERTIONS=y # # extra toolchain options -- 2.26.1 _______________________________________________ DistroKit mailing list DistroKit@pengutronix.de