Bug 214165

Summary: [patch] fix to support xtoolchains that need WITHOUT_FORMAT_EXTENSIONS
Product: Base System Reporter: Kenneth Salerno <kennethsalerno>
Component: miscAssignee: freebsd-toolchain (Nobody) <toolchain>
Status: New ---    
Severity: Affects Only Me Keywords: patch
Priority: ---    
Version: 11.0-RELEASE   
Hardware: Any   
OS: Any   
Description Flags
fix for XCCs which are not patched to support -fformat-extensions none

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.