crosstool-ng/packages/gcc/12.2.0
Keith Packard 06a0160328 packages/gcc: Add gcc patch to allow getenv default values
This patch, submitted upstream but not (yet?) accepted, adds a third
parameter to the specs file 'getenv' function that provides a value
for when the environment variable is not set, instead of having gcc
fail.

This seemed like the safest way to provide a mechanism for getting the
installed location of the toolchain from inside a specs file as, when
not installed in the built-in location, gcc already sets the
GCC_EXEC_PREFIX environment variable to a well defined location within
that directory hierarchy, but when installed in the location specified
at compile time, gcc does not. Providing a default value that matches
the compile-time location then allows the specs file to compute paths
relative to the current GCC installation location, whereever it is
installed.

Signed-off-by: Keith Packard <keithp@keithp.com>
2023-02-28 13:42:48 -08:00
..
0000-libtool-leave-framework-alone.patch gcc: Add gcc 12.2.0 2022-08-23 20:02:11 +12:00
0001-gcc-plugin-POSIX-include-sys-select-h.patch gcc: Add gcc 12.2.0 2022-08-23 20:02:11 +12:00
0002-arm-softfloat-libgcc.patch gcc: Add gcc 12.2.0 2022-08-23 20:02:11 +12:00
0003-libgcc-disable-split-stack-nothreads.patch gcc: Add gcc 12.2.0 2022-08-23 20:02:11 +12:00
0004-Remove-use-of-include_next-from-c-headers.patch gcc: Add gcc 12.2.0 2022-08-23 20:02:11 +12:00
0005-driver-Extend-getenv-function-to-allow-default-value.patch packages/gcc: Add gcc patch to allow getenv default values 2023-02-28 13:42:48 -08:00
chksum gcc: Add gcc 12.2.0 2022-08-23 20:02:11 +12:00
version.desc gcc: Add gcc 12.2.0 2022-08-23 20:02:11 +12:00