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)
Sun, Oct 11, 9:01 PM
Unknown Object (File)
Sun, Oct 11, 8:51 PM
Unknown Object (File)
Sun, Oct 11, 8:25 AM
Unknown Object (File)
Sun, Sep 20, 7:34 PM
Unknown Object (File)
Sep 18 2026, 4:35 PM
Unknown Object (File)
Sep 13 2026, 8:45 AM
Unknown Object (File)
Sep 12 2026, 10:58 AM
Unknown Object (File)
Sep 6 2026, 3:37 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