This enables to more easily add new flags.

Signed-off-by: Denis 'GNUtoo' Carikli <[email protected]>
---
 scripts/guix.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/scripts/guix.scm b/scripts/guix.scm
index f020351..12dd0e8 100644
--- a/scripts/guix.scm
+++ b/scripts/guix.scm
@@ -61,7 +61,14 @@
  (gnu packages python-xyz)
  (gnu packages tls))
 
-(define %strict-cflags "CFLAGS=-Werror -W -Wall -Wunused -Wunused-function")
+(define %strict-cflags
+  (string-append
+   " CFLAGS="
+   " -W"
+   " -Wall"
+   " -Werror"
+   " -Wunused"
+   " -Wunused-function"))
 
 (define %commit
   (let* ((port (open-input-pipe
-- 
2.30.1

_______________________________________________
Replicant mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/replicant

Reply via email to