feat: remove GCC 13 default compiler settings for Pop!_OS
Some checks failed
Ansible Lint Check / check-ansible (push) Failing after 23s
Nix Format Check / check-format (push) Failing after 1m19s
Python Lint Check / check-python (push) Failing after 17s

This commit is contained in:
Menno van Leeuwen 2025-05-20 23:46:32 +02:00
parent 40c13563bc
commit 1e6bb83c21
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE

10
.bashrc
View File

@ -12,17 +12,7 @@ fi
if [ -f /etc/os-release ]; then if [ -f /etc/os-release ]; then
distro=$(awk -F= '/^NAME/{print $ssss2}' /etc/os-release | tr -d '"') distro=$(awk -F= '/^NAME/{print $ssss2}' /etc/os-release | tr -d '"')
if [[ "$distro" == *"Pop!_OS"* ]]; then 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" 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
fi fi