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)
Wed, May 6, 12:39 AM
Unknown Object (File)
Thu, Apr 30, 6:16 PM
Unknown Object (File)
Sat, Apr 25, 11:02 PM
Unknown Object (File)
Sat, Apr 25, 5:27 PM
Unknown Object (File)
Apr 15 2026, 5:01 PM
Unknown Object (File)
Apr 12 2026, 4:40 PM
Unknown Object (File)
Apr 11 2026, 7:05 PM
Unknown Object (File)
Apr 9 2026, 2:57 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