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/b2181429f35c
branches:  trunk
changeset: 957558:b2181429f35c
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 9d352d7faf36 -r b2181429f35c 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