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
F152094226: D22381.id64380.diff
Sun, Apr 12, 4:40 PM
F151960017: D22381.id64380.diff
Sat, Apr 11, 7:05 PM
Unknown Object (File)
Thu, Apr 9, 2:57 AM
Unknown Object (File)
Mon, Apr 6, 4:33 AM
Unknown Object (File)
Mon, Mar 30, 5:47 PM
Unknown Object (File)
Sun, Mar 22, 11:34 PM
Unknown Object (File)
Mar 12 2026, 10:46 AM
Unknown Object (File)
Mar 11 2026, 10:17 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