Skip to content

Commit

Permalink
Fixing gcov alternates. Will re-release as 22.4.7 (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
thirtytwobits authored Apr 7, 2024
1 parent df0ab3b commit 12ff0ab
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions toolshed/gcc-select.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/bash


GCC_VERSION=${1}

setup_gcc_alternatives()
Expand All @@ -22,11 +21,14 @@ setup_gcc_alternatives()
GCC_ALTERNATIVES_PRI=99
GCC_ALTERNATIVES_PATH="/usr/bin/"

# setup llvm-config group
# setup gcc group
GCC_ALTERNATIVES_GROUP_GCC_CONFIG=""
GCC_ALTERNATIVES_GROUP_GCC_CONFIG="${GCC_ALTERNATIVES_GROUP_GCC_CONFIG} g++"
GCC_ALTERNATIVES_GROUP_GCC_CONFIG="${GCC_ALTERNATIVES_GROUP_GCC_CONFIG} gcc-ar"
GCC_ALTERNATIVES_GROUP_GCC_CONFIG="${GCC_ALTERNATIVES_GROUP_GCC_CONFIG} gcc-nm"
GCC_ALTERNATIVES_GROUP_GCC_CONFIG="${GCC_ALTERNATIVES_GROUP_GCC_CONFIG} gcc-ranlib"
GCC_ALTERNATIVES_GROUP_GCC_CONFIG="${GCC_ALTERNATIVES_GROUP_GCC_CONFIG} gcov"
GCC_ALTERNATIVES_GROUP_GCC_CONFIG="${GCC_ALTERNATIVES_GROUP_GCC_CONFIG} gcov-dump"
GCC_ALTERNATIVES_GROUP_GCC_CONFIG="${GCC_ALTERNATIVES_GROUP_GCC_CONFIG} gcov-tool"

setup_gcc_alternatives "${GCC_VERSION}" "${GCC_ALTERNATIVES_PRI}" "gcc" "${GCC_ALTERNATIVES_GROUP_GCC_CONFIG}" "${GCC_ALTERNATIVES_PATH}"

0 comments on commit 12ff0ab

Please sign in to comment.