Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit c86ae69

Browse files
committed
gcc: fix build on ARMv7
1 parent fe0c9e0 commit c86ae69

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

core-devel/gcc/01-runtime/beyond

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ for lib in ${RTLIBS[@]}; do
2222
make -C "${ARCH_TARGET[$ARCH]}"/$lib DESTDIR="$PKGDIR" install-toolexeclibLTLIBRARIES
2323
done
2424

25-
make -C "${ARCH_TARGET[$ARCH]}"/libsanitizer/tsan DESTDIR="$PKGDIR" install-toolexeclibLTLIBRARIES
25+
if [[ "${CROSS:-$ARCH}" != "armel" ]]; then
26+
make -C "${ARCH_TARGET[$ARCH]}"/libsanitizer/tsan DESTDIR="$PKGDIR" install-toolexeclibLTLIBRARIES
27+
fi
2628
make -C "${ARCH_TARGET[$ARCH]}"/libobjc DESTDIR="$PKGDIR" install-libs
2729
make -C "${ARCH_TARGET[$ARCH]}"/libstdc++-v3/po DESTDIR="$PKGDIR" install
2830
if [ "${CROSS:-$ARCH}" = "amd64" ]; then

core-devel/gcc/01-runtime/defines

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ if [[ "${CROSS:-$ARCH}" = "mips64el" ]]; then
109109
fi
110110

111111
# Use profiledbootstrap.
112-
ABMK="profiledbootstrap"
112+
if [[ "${CROSS:-$ARCH}" != "armel" ]]; then
113+
ABMK="profiledbootstrap"
114+
fi
113115

114116
ABRPMAUTOPROVONLY=yes
115117

0 commit comments

Comments
 (0)