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/ad620f960cb3
branches:  trunk
changeset: 978782:ad620f960cb3
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 01a1da8265bf -r ad620f960cb3 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