Skip to content

Commit

Permalink
fixpkg: x86_64-linux-gnu-gcc 14.2.0-2
Browse files Browse the repository at this point in the history
- multilib shouldn't be enabled.
- Fix lib dir
- Some potentially unnecessary sources files get installed, reported
  here: https://gitlab.archlinux.org/archlinux/packaging/packages/aarch64-linux-gnu-gcc/-/issues/3
  • Loading branch information
kxxt authored and felixonmars committed Dec 13, 2024
1 parent 7070138 commit 87480fc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion x86_64-linux-gnu-gcc/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ prepare() {
# Do not run fixincludes
sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in

# Arch Linux installs x86_64 libraries /lib
sed -i '/m64=/s/lib64/lib/' gcc/config/i386/t-linux64

rm -rf "$srcdir"/gcc-build
mkdir "$srcdir"/gcc-build
}
Expand Down Expand Up @@ -72,7 +75,7 @@ build() {
--enable-gnu-unique-object --enable-linker-build-id \
--enable-lto --enable-plugin --enable-install-libiberty \
--with-linker-hash-style=gnu --enable-gnu-indirect-function \
--enable-multilib --disable-werror \
--disable-multilib --disable-werror \
--enable-checking=release

make
Expand Down

0 comments on commit 87480fc

Please sign in to comment.