Skip to content

Commit

Permalink
Older glibc compat.
Browse files Browse the repository at this point in the history
  • Loading branch information
tzarc committed Mar 5, 2024
1 parent 7dbab39 commit d1c1706
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common.bashinc
Original file line number Diff line number Diff line change
Expand Up @@ -302,11 +302,11 @@ function build_one() {

if [[ ! -z "$(echo $sample_name | grep linux)" ]]; then
# Swap to an older version of glibc to avoid issues with older distros, especially things like older Debian with Raspberry Pi targets.
# See the glibc version compat list here: https://abi-laboratory.pro/?view=timeline&l=glibc -- 2.33 seems safe enough?
# See the glibc version compat list here: https://abi-laboratory.pro/?view=timeline&l=glibc -- 2.27 seems safe enough?
${SED} -i \
-e 's/^.*CT_GLIBC_V_.*$/# CT_GLIBC_V_???? is not set/' \
.config
echo CT_GLIBC_V_2_33=y >>.config
echo CT_GLIBC_V_2_27=y >>.config
ct-ng olddefconfig
fi

Expand Down

0 comments on commit d1c1706

Please sign in to comment.