This repository was archived by the owner on Sep 29, 2022. It is now read-only.
File tree 1 file changed +4
-2
lines changed
cross-compilers/compilers_generic
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ if [[ ! -n $(find ${SRC_DIR}/gcc_built -iname ${cpu_arch}-${vendor}-*-gfortran)
53
53
source ${RECIPE_DIR} /write_ctng_config
54
54
55
55
yes " " | ct-ng ${ctng_sample}
56
- write_ctng_config_before " ${PWD} " / .config
56
+ write_ctng_config_before .config
57
57
# Apply some adjustments for conda.
58
58
sed -i.bak " s|# CT_DISABLE_MULTILIB_LIB_OSDIRNAMES is not set|CT_DISABLE_MULTILIB_LIB_OSDIRNAMES=y|g" .config
59
59
sed -i.bak " s|CT_CC_GCC_USE_LTO=n|CT_CC_GCC_USE_LTO=y|g" .config
@@ -71,8 +71,10 @@ if [[ ! -n $(find ${SRC_DIR}/gcc_built -iname ${cpu_arch}-${vendor}-*-gfortran)
71
71
fi
72
72
# Now ensure any changes we made above pull in other requirements by running oldconfig.
73
73
yes " " | ct-ng oldconfig
74
+ # Remove all CT_LIBC_GLIBC lines as otherwise we can end up with conflicting values in different vars.
75
+ sed -i.bak " /CT_LIBC_GLIBC/d" .config
74
76
# And undo any damage to version numbers => the seds above could be moved into this too probably.
75
- write_ctng_config_after " ${PWD} " / .config
77
+ write_ctng_config_after .config
76
78
if cat .config | grep " CT_GDB_NATIVE=y" ; then
77
79
if ! cat .config | grep " CT_EXPAT_TARGET=y" ; then
78
80
echo " ERROR: CT_GDB_NATIVE=y but CT_EXPAT_TARGET!=y"
You can’t perform that action at this time.
0 commit comments