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/6abf3ba0fdeb
branches:  trunk
changeset: 1016817:6abf3ba0fdeb
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 806e5381bf76 -r 6abf3ba0fdeb 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