X-Git-Url: http://nitlanguage.org diff --git a/src/c_tools.nit b/src/c_tools.nit index 24bdf23..9a03c5a 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) -Wall {self.cflags} {pkg} -c -o {o} {ff}" + return "$(CC) $(CFLAGS) -Wall -Wno-unused-function {self.cflags} {pkg} -c -o {o} {ff}" end redef fun compiles_to_o_file do return true