aboutsummaryrefslogtreecommitdiff
path: root/src/Compile/Exec.hs
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2025-10-30 13:59:31 +0100
committerTom Smeding <tom@tomsmeding.com>2025-10-30 14:00:15 +0100
commit7154fe21e2357ba1e8aa6232d9b0a57083b80d93 (patch)
tree55e6c6788ab9c39ca56f15420e0e0266e5ee0ac6 /src/Compile/Exec.hs
parenta098011b79249dfd0b9e7f930ae4a539db746601 (diff)
Compile: store sh in array, not in array buffer
Diffstat (limited to 'src/Compile/Exec.hs')
-rw-r--r--src/Compile/Exec.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Compile/Exec.hs b/src/Compile/Exec.hs
index 9b9fb15..cc6d5fa 100644
--- a/src/Compile/Exec.hs
+++ b/src/Compile/Exec.hs
@@ -42,7 +42,8 @@ buildKernel csource funname = do
,"-o", outso, "-"
,"-Wall", "-Wextra"
,"-Wno-unused-variable", "-Wno-unused-but-set-variable"
- ,"-Wno-unused-parameter", "-Wno-unused-function"]
+ ,"-Wno-unused-parameter", "-Wno-unused-function"
+ ,"-Wno-alloc-size-larger-than"] -- ideally we'd keep this, but gcc reports false positives
(ec, gccStdout, gccStderr) <- readProcessWithExitCode "gcc" args csource
-- Print the source before the GCC output.