[Replicant] [libsamsung-ipc][PATCH 03/10] scripts: guix.scm: reorder CLFAGS
Denis 'GNUtoo' Carikli
GNUtoo at cyberdimension.org
Sat Feb 13 13:17:42 UTC 2021
This enables to more easily add new flags.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at cyberdimension.org>
---
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
More information about the Replicant
mailing list