From 00505dbe63905f50f675f2667105f5c92043778e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Tue, 9 Jun 2015 10:55:59 -0400 Subject: [PATCH] src: compile user C code with -Wall MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- src/c_tools.nit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c_tools.nit b/src/c_tools.nit index 0b80817..50bbcd3 100644 --- a/src/c_tools.nit +++ b/src/c_tools.nit @@ -148,7 +148,7 @@ class ExternCFile if not pkgconfigs.is_empty then pkg = "`pkg-config --cflags {pkgconfigs.join(" ")}`" end - return "$(CC) $(CFLAGS) {self.cflags} {pkg} -c -o {o} {ff}" + return "$(CC) $(CFLAGS) -Wall {self.cflags} {pkg} -c -o {o} {ff}" end redef fun compiles_to_o_file do return true -- 1.7.9.5