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
F167437583: D22381.id64380.diff
Fri, Aug 21, 6:02 PM
F167369063: D22381.diff
Fri, Aug 21, 10:07 AM
Unknown Object (File)
Wed, Aug 19, 12:18 PM
Unknown Object (File)
Tue, Aug 11, 8:45 AM
Unknown Object (File)
Tue, Aug 11, 8:23 AM
Unknown Object (File)
Tue, Aug 11, 7:06 AM
Unknown Object (File)
Jul 22 2026, 7:06 PM
Unknown Object (File)
Jul 20 2026, 2:14 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