FreeBSD Bugzilla – Attachment 175328 Details for
Bug 213137
boot2 too large when using gcc-4.6 or later
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
sample patch for sys/boot/i386/boot2/Makefile
boot0-11.0-gcc46.patch (text/plain), 481 bytes, created by
Yuta Satoh
on 2016-10-01 02:05:09 UTC
(
hide
)
Description:
sample patch for sys/boot/i386/boot2/Makefile
Filename:
MIME Type:
Creator:
Yuta Satoh
Created:
2016-10-01 02:05:09 UTC
Size:
481 bytes
patch
obsolete
>diff --git a/sys/boot/i386/boot2/Makefile b/sys/boot/i386/boot2/Makefile >index ead9ad1..af5e021 100644 >--- a/sys/boot/i386/boot2/Makefile >+++ b/sys/boot/i386/boot2/Makefile >@@ -45,6 +45,9 @@ CFLAGS.gcc+= -Os \ > .if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} <= 40201 > CFLAGS.gcc+= -mno-align-long-strings > .endif >+.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 40600 >+CFLAGS.gcc+= -fno-asynchronous-unwind-tables >+.endif > > CFLAGS.clang+= -Oz ${CLANG_OPT_SMALL} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 213137
: 175328