gcc-toolset-15/gcc-toolset-env.in
Siddhesh Poyarekar 6890fadb85 New script gcc-toolset-15-env
Add a new script to replace the `scl enable` command.  Also update the
`enable_devtoolset` macro to instead be called `enable_gcctoolset` and
have it use a new installed script instead of an SCL snippet.

Resolves: RHEL-88743
2025-05-15 12:20:15 -04:00

12 lines
175 B
Plaintext

# Environment wrapper for GCC Toolset %{gts_ver}
source %{_root_prefix}/lib/gcc-toolset/%{gts_ver}-env.source
if [ -z $1 ]; then
cmd="/bin/sh"
else
cmd=$*
fi
exec $cmd