From 602b8701f8b28444dcb5b101c09601f8c1c0da0f Mon Sep 17 00:00:00 2001 From: crouzet Date: Fri, 22 Nov 2019 11:33:43 +0100 Subject: [PATCH] =?utf8?q?ajout=20de=20deux=20variables=20SAT=5FDEBUG=20et?= =?utf8?q?=20SAT=5FVERBOSE=20si=20les=20modes=20debug=20ou=20verbose=20son?= =?utf8?q?t=20activ=C3=A9s?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/compilation.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/compilation.py b/src/compilation.py index b8b8ce0..e0ec8d6 100644 --- a/src/compilation.py +++ b/src/compilation.py @@ -467,6 +467,11 @@ CC=\\"hack_libtool\\"%g" libtool''' # in order for the compilation script to take it into account if src.product.product_is_hpc(self.product_info): self.build_environ.set("SAT_HPC", "1") + if self.debug_mode: + self.build_environ.set("SAT_DEBUG", "1") + if self.verbose_mode: + self.build_environ.set("SAT_VERBOSE", "1") + def do_batch_script_build(self, script, nb_proc): -- 2.39.2