nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9461f7
)
src: compile user C code with -Wall
author
Alexis Laferrière
<alexis.laf@xymus.net>
Tue, 9 Jun 2015 14:55:59 +0000
(10:55 -0400)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Tue, 9 Jun 2015 15:37:15 +0000
(11:37 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
src/c_tools.nit
patch
|
blob
|
history
diff --git
a/src/c_tools.nit
b/src/c_tools.nit
index
0b80817
..
50bbcd3
100644
(file)
--- 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