Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/lib/libx86emu Build x86emu.c with -fno-inline, otherwise...



details:   https://anonhg.NetBSD.org/src/rev/70cc4d9bfb1b
branches:  trunk
changeset: 946596:70cc4d9bfb1b
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Dec 04 00:43:00 2020 +0000

description:
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:

 sys/lib/libx86emu/files.x86emu |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (8 lines):

diff -r fbb22bd6237e -r 70cc4d9bfb1b sys/lib/libx86emu/files.x86emu
--- a/sys/lib/libx86emu/files.x86emu    Fri Dec 04 00:41:10 2020 +0000
+++ b/sys/lib/libx86emu/files.x86emu    Fri Dec 04 00:43:00 2020 +0000
@@ -11,3 +11,4 @@
 prefix
 
 makeoptions    x86emu  CPPFLAGS+="-I$S/../common/include"
+makeoptions    x86emu  "COPTS.x86emu.c"+="-fno-inline"



Home | Main Index | Thread Index | Old Index