From 614795f3e17202b4637f14e4dbba5b4ecb74a114 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Mon, 22 Jul 2019 16:10:43 -0400 Subject: [PATCH] Add -DNDEBUG for openSUSE standrad build test --- TestScripts/cryptest.sh | 2 +- cryptest.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TestScripts/cryptest.sh b/TestScripts/cryptest.sh index 06bc8328..c59d2d09 100755 --- a/TestScripts/cryptest.sh +++ b/TestScripts/cryptest.sh @@ -2216,7 +2216,7 @@ if [[ ("$IS_SUSE" -ne "0") ]]; then # Flags taken from openSUSE's build logs # http://susepaste.org/view//9613298 - SUSE_FLAGS=("-g" "-O2" + SUSE_FLAGS=("-DNDEBUG" "-g" "-O2" "-D_FORTIFY_SOURCE=2" "-funwind-tables" "-fpic" "-fPIC" diff --git a/cryptest.sh b/cryptest.sh index 06bc8328..c59d2d09 100755 --- a/cryptest.sh +++ b/cryptest.sh @@ -2216,7 +2216,7 @@ if [[ ("$IS_SUSE" -ne "0") ]]; then # Flags taken from openSUSE's build logs # http://susepaste.org/view//9613298 - SUSE_FLAGS=("-g" "-O2" + SUSE_FLAGS=("-DNDEBUG" "-g" "-O2" "-D_FORTIFY_SOURCE=2" "-funwind-tables" "-fpic" "-fPIC"