summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2020-12-04 00:43:00 +0000
committerthorpej <thorpej@NetBSD.org>2020-12-04 00:43:00 +0000
commit6d00f00534ec7905472fa7e957f01099b32aa03d (patch)
treecc65c497f1e36eae91ee92aa7acc6617f69e3e40 /sys
parentcf57e410ac624aa1eac37f66d3c6d46c0dd3db1e (diff)
Build x86emu.c with -fno-inline, otherwise all of the auto-inlining
the compiler does causes stack usage to exceed the limits we've set.
Diffstat (limited to 'sys')
-rw-r--r--sys/lib/libx86emu/files.x86emu1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/lib/libx86emu/files.x86emu b/sys/lib/libx86emu/files.x86emu
index 150dd46ba54..b359ec5c684 100644
--- a/sys/lib/libx86emu/files.x86emu
+++ b/sys/lib/libx86emu/files.x86emu
@@ -11,3 +11,4 @@ buildprefix
prefix
makeoptions x86emu CPPFLAGS+="-I$S/../common/include"
+makeoptions x86emu "COPTS.x86emu.c"+="-fno-inline"