build: Do not export $TOOLCHAIN from toolchain-files
diff --git a/toolchain-detect/configure.ac b/toolchain-detect/configure.ac
index 4ca930d1..602b9f59 100644
--- a/toolchain-detect/configure.ac
+++ b/toolchain-detect/configure.ac
@@ -17,8 +17,6 @@ else
ENFORCE_TOOLCHAIN=yes
fi
-AC_SUBST(TOOLCHAIN, $TOOLCHAIN)
-
AC_DEFUN([CC_ERROR_MSG], [
AC_MSG_ERROR([no suitable LIMINE_CC found, run $srcdir/make_toolchain.sh or install the appropriate GCC/Clang])
])
diff --git a/toolchain-detect/toolchain.mk.in b/toolchain-detect/toolchain.mk.in
index af772b99..d84d9e9e 100644
--- a/toolchain-detect/toolchain.mk.in
+++ b/toolchain-detect/toolchain.mk.in
@@ -1,5 +1,3 @@
-override TOOLCHAIN := @TOOLCHAIN@
-export TOOLCHAIN
override LIMINE_CC := @LIMINE_CC@
export LIMINE_CC
override LIMINE_LD := @LIMINE_LD@
