From 1e6bb83c2121299cf894f5f5d2401f7a0478a9a7 Mon Sep 17 00:00:00 2001 From: Menno van Leeuwen Date: Tue, 20 May 2025 23:46:32 +0200 Subject: [PATCH] feat: remove GCC 13 default compiler settings for Pop!_OS --- .bashrc | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.bashrc b/.bashrc index b42057e..96d7c69 100644 --- a/.bashrc +++ b/.bashrc @@ -12,17 +12,7 @@ fi if [ -f /etc/os-release ]; then distro=$(awk -F= '/^NAME/{print $ssss2}' /etc/os-release | tr -d '"') if [[ "$distro" == *"Pop!_OS"* ]]; then - # Set GCC 13 as default compiler - export CC=/usr/bin/gcc-13 - export CXX=/usr/bin/g++-13 export CGO_CFLAGS="-I/usr/include" - - # Point to GCC 13 headers (fixed path) - export CPLUS_INCLUDE_PATH="/usr/include/c++/13:/usr/include/x86_64-linux-gnu/c++/13" - - # Add library paths (recommended) - export LIBRARY_PATH="/usr/lib/gcc/x86_64-linux-gnu/13:$LIBRARY_PATH" - export LD_LIBRARY_PATH="/usr/lib/gcc/x86_64-linux-gnu/13:$LD_LIBRARY_PATH" fi fi