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)
Sat, Oct 11, 12:59 AM
Unknown Object (File)
Thu, Sep 25, 1:37 AM
Unknown Object (File)
Tue, Sep 23, 8:40 PM
Unknown Object (File)
Sep 4 2025, 9:30 PM
Unknown Object (File)
Aug 2 2025, 11:12 PM
Unknown Object (File)
Aug 2 2025, 10:49 AM
Unknown Object (File)
Jul 21 2025, 6:39 PM
Unknown Object (File)
Jul 9 2025, 8:30 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