Page MenuHomeFreeBSD

Use __ as the separator for the exported vars in bsd.compiler/linker.mk
ClosedPublic

Authored by arichardson on Nov 15 2019, 3:41 PM.
Tags
None
Referenced Files
F163390828: D22381.id.diff
Wed, Jul 22, 7:06 PM
Unknown Object (File)
Mon, Jul 20, 2:14 AM
Unknown Object (File)
Sat, Jul 18, 4:48 PM
Unknown Object (File)
Sat, Jul 18, 8:17 AM
Unknown Object (File)
Fri, Jul 10, 6:51 PM
Unknown Object (File)
Tue, Jul 7, 6:00 AM
Unknown Object (File)
Mon, Jul 6, 4:54 AM
Unknown Object (File)
Sun, Jul 5, 1:13 AM
Subscribers

Details

Summary

By using '__' instead of '.' as the separator we can also support systems
that use dash as /bin/sh (it's the default shell on Ubuntu/Debian). Dash
will unset any environment variables that use a non alphanumeric+undedscore
character and therefore submakes will fail to import the COMPILER_*
variables if we use '.' as the separator.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable