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
Unknown Object (File)
Thu, Mar 12, 10:46 AM
Unknown Object (File)
Wed, Mar 11, 10:17 PM
Unknown Object (File)
Thu, Mar 5, 3:44 PM
Unknown Object (File)
Thu, Mar 5, 3:39 AM
Unknown Object (File)
Dec 29 2025, 6:21 AM
Unknown Object (File)
Dec 28 2025, 4:55 AM
Unknown Object (File)
Dec 26 2025, 3:40 PM
Unknown Object (File)
Dec 25 2025, 10:16 PM
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