summaryrefslogtreecommitdiff
path: root/src/Compile/Exec.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Compile/Exec.hs')
-rw-r--r--src/Compile/Exec.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compile/Exec.hs b/src/Compile/Exec.hs
index 83fcdad..7c5cb79 100644
--- a/src/Compile/Exec.hs
+++ b/src/Compile/Exec.hs
@@ -28,7 +28,7 @@ buildKernel csource funnames = do
path <- mkdtemp template
let outso = path ++ "/out.so"
- let args = ["-O3", "-march=native", "-shared", "-fPIC", "-std=c99", "-x", "c", "-o", outso, "-"]
+ let args = ["-O3", "-march=native", "-shared", "-fPIC", "-std=c99", "-x", "c", "-o", outso, "-", "-Wall", "-Wextra", "-Wno-unused-parameter"]
_ <- readProcess "gcc" args csource
hPutStrLn stderr $ "[chad] loading kernel " ++ path