Bug 214165 - [patch] fix to support xtoolchains that need WITHOUT_FORMAT_EXTENSIONS
Summary: [patch] fix to support xtoolchains that need WITHOUT_FORMAT_EXTENSIONS
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 11.0-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-toolchain mailing list
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-11-03 12:35 UTC by Kenneth Salerno
Modified: 2018-08-12 14:36 UTC (History)
0 users

See Also:


Attachments
fix for XCCs which are not patched to support -fformat-extensions (472 bytes, patch)
2016-11-03 12:35 UTC, Kenneth Salerno
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Salerno 2016-11-03 12:35:10 UTC
Created attachment 176590 [details]
fix for XCCs which are not patched to support -fformat-extensions

This patch compliments sys/conf/kern.mk's test for MK_FORMAT_EXTENSIONS == "no", which is only available by sys/conf/kern.options, so can't use that same test in share/mk/bsd.sys.mk here.

Patch tested successfully with 11.0-RELEASE-p3 for i386 using xtoochain built from unpatched gcc-5.4.0 supporting --sysroot.