The previous patch just added the values defined by the caller, this patch
changes behaviour to overwrite the script default entirely. Not everyone wants
the perf tests to run on make check.

Signed-off-by: Zoltan Kiss <[email protected]>
---
 helper/generic | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helper/generic b/helper/generic
index aa1b10a..1dbb41f 100644
--- a/helper/generic
+++ b/helper/generic
@@ -3,7 +3,7 @@
 export SRCDIR=${ROOT_DIR}/src
 export BUILDDIR=${ROOT_DIR}/build
 export LOGDIR=${ROOT_DIR}/log
-export EXTRA_FLAGS="${EXTRA_FLAGS} --enable-test-perf"
+export EXTRA_FLAGS="${EXTRA_FLAGS:- --enable-test-perf}"
 
 mkdir -p ${SRCDIR}
 mkdir -p ${BUILDDIR}
-- 
1.9.1

_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to