Commit 1d87aac0 authored by Leo's avatar Leo

community/ocaml-lablgtk: fix build by disabling -fno-common

Currently no patch for it:

/usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ml_gdk.o:(.bss+0x0): multiple definition of `ml_table_extension_events'; ml_gdkpixbuf.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ml_gtk.o:(.bss+0x0): multiple definition of `ml_table_extension_events'; ml_gdkpixbuf.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ml_gtkbin.o:(.bss+0x0): multiple definition of `ml_table_extension_events'; ml_gdkpixbuf.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ml_gtkbroken.o:(.bss+0x0): multiple definition of `ml_table_extension_events'; ml_gdkpixbuf.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ml_gtkbutton.o:(.bss+0x0): multiple definition of `ml_table_extension_events'; ml_gdkpixbuf.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ml_gtkassistant.o:(.bss+0x0): multiple definition of `ml_table_extension_events'; ml_gdkpixbuf.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ml_gtkedit.o:(.bss+0x0): multiple definition of `ml_table_extension_events'; ml_gdkpixbuf.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ml_gtklist.o:(.bss+0x0): multiple definition of `ml_table_extension_events'; ml_gdkpixbuf.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ml_gtkmenu.o:(.bss+0x0): multiple definition of `ml_table_extension_events'; ml_gdkpixbuf.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ml_gtkmisc.o:(.bss+0x0): multiple definition of `ml_table_extension_events'; ml_gdkpixbuf.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ml_gtkpack.o:(.bss+0x0): multiple definition of `ml_table_extension_events'; ml_gdkpixbuf.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ml_gtkrange.o:(.bss+0x0): multiple definition of `ml_table_extension_events'; ml_gdkpixbuf.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ml_gtkstock.o:(.bss+0x0): multiple definition of `ml_table_extension_events'; ml_gdkpixbuf.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ml_gtktext.o:(.bss+0x0): multiple definition of `ml_table_extension_events'; ml_gdkpixbuf.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ml_gtktree.o:(.bss+0x0): multiple definition of `ml_table_extension_events'; ml_gdkpixbuf.o:(.bss+0x0): first defined here
parent f9496c3a
Pipeline #65882 failed with stages
in 2 minutes and 24 seconds
......@@ -21,6 +21,7 @@ builddir="$srcdir/$_pkgname-$pkgver"
options="!check textrels"
build() {
CFLAGS="$CFLAGS -fcommon" \
./configure --prefix=/usr
make -j1 world
make -j1 opt
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment