From c496f654fe0d7a86e0eb46fcb1baf899673540bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Wed, 12 Jun 2024 20:34:50 +0700 Subject: [PATCH] *: no longer require -fcommon --- srcpkgs/OpenCPN/template | 1 - srcpkgs/ReDoomEd.app/template | 1 - srcpkgs/argyllcms/template | 2 -- srcpkgs/atomix/template | 2 -- srcpkgs/bftpd/template | 6 +++++- srcpkgs/bird/template | 2 -- srcpkgs/bluez-alsa/template | 2 -- srcpkgs/bolt/template | 2 -- srcpkgs/bspwm/template | 2 -- srcpkgs/catimg/template | 1 - srcpkgs/ccextractor/template | 8 ++------ srcpkgs/cdemu-daemon/template | 2 -- srcpkgs/cdogs-sdl/template | 2 -- srcpkgs/ckb-next/template | 2 -- srcpkgs/cpio/template | 2 -- srcpkgs/crispy-doom/template | 2 -- srcpkgs/csound/template | 3 +-- srcpkgs/espeak-ng/template | 2 -- srcpkgs/ettercap/template | 2 -- srcpkgs/gdbm/template | 2 -- srcpkgs/global/template | 2 -- srcpkgs/gst-plugins-bad1/template | 2 -- srcpkgs/hebcal/template | 2 -- srcpkgs/hedgewars/template | 3 --- srcpkgs/heyu/template | 2 -- srcpkgs/i3lock/template | 2 -- srcpkgs/ibus-rime/template | 1 - srcpkgs/kexec-tools/template | 2 -- srcpkgs/lastpass-cli/template | 2 -- srcpkgs/libfreeglut/template | 2 -- srcpkgs/libmirage/template | 2 -- srcpkgs/libowfat/template | 2 -- srcpkgs/libunwind/template | 2 -- srcpkgs/lilo/template | 1 - srcpkgs/lxpanel/template | 2 -- srcpkgs/lxtask/template | 2 -- srcpkgs/nemesis/template | 2 -- srcpkgs/xorg-server/template | 3 --- 38 files changed, 8 insertions(+), 76 deletions(-) diff --git a/srcpkgs/OpenCPN/template b/srcpkgs/OpenCPN/template index 5f3a096c06d..4b64fad6ae0 100644 --- a/srcpkgs/OpenCPN/template +++ b/srcpkgs/OpenCPN/template @@ -38,7 +38,6 @@ if [ -n "$CROSS_BUILD" ]; then configure_args+=" -DOCPN_BUILD_TEST=OFF" fi -CFLAGS="-fcommon" CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" post_install() { diff --git a/srcpkgs/ReDoomEd.app/template b/srcpkgs/ReDoomEd.app/template index 524158227e1..7f5f0ff2e4b 100644 --- a/srcpkgs/ReDoomEd.app/template +++ b/srcpkgs/ReDoomEd.app/template @@ -17,7 +17,6 @@ distfiles="http://twilightedge.com/downloads/ReDoomEd.Sources.${version%.*}-${ve checksum=256e4e63a6f109281673fd6fb1a11d3872aea6064ae8e104cd1238c9a7c21fa5 repository=nonfree restricted=yes -make_build_args=OBJCFLAGS=-fcommon if [ -e /usr/share/GNUstep/Makefiles/GNUstep.sh ]; then . /usr/share/GNUstep/Makefiles/GNUstep.sh diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template index 88e18ed7ff8..34b1274cf77 100644 --- a/srcpkgs/argyllcms/template +++ b/srcpkgs/argyllcms/template @@ -17,8 +17,6 @@ lib32disabled=yes # Build system look only under / for headers and libraries. Breaks cross. nocross=yes -CFLAGS="-fcommon" - do_configure() { sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules } diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template index 23dc8bdcfd0..6e07392647c 100644 --- a/srcpkgs/atomix/template +++ b/srcpkgs/atomix/template @@ -11,5 +11,3 @@ license="GPL-2.0-or-later" homepage="https://wiki.gnome.org/Apps/Atomix" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=c8849317688d87da734c9063035631052007f2a8799b6c6cc915265880b55fb4 - -CFLAGS="-fcommon" diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template index ff24ddeefd0..b1154ef6757 100644 --- a/srcpkgs/bftpd/template +++ b/srcpkgs/bftpd/template @@ -4,6 +4,7 @@ version=6.1 revision=3 build_style=gnu-configure configure_args="--enable-libz" +hostmakedepends="automake" makedepends="zlib-devel" short_desc="Simple FTP server" maintainer="Norbert Vegh " @@ -16,11 +17,14 @@ if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then makedepends+=" libxcrypt-devel" fi -CFLAGS="-fcommon" make_build_args=V=1 make_dirs="/var/run/bftpd 0755 root root" conf_files="/etc/bftpd.conf" +pre_configure() { + autoreconf -fi +} + post_install() { vsv bftpd } diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template index 26c33e40feb..d9c851f8e1a 100644 --- a/srcpkgs/bird/template +++ b/srcpkgs/bird/template @@ -16,8 +16,6 @@ checksum=48e85c622de164756c132ea77ad1a8a95cc9fd0137ffd0d882746589ce75c75d conf_files="/etc/bird.conf" system_accounts="_bird" -CFLAGS="-fcommon" - post_install() { vsv bird } diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template index cf5de4c35bd..713d185f352 100644 --- a/srcpkgs/bluez-alsa/template +++ b/srcpkgs/bluez-alsa/template @@ -18,8 +18,6 @@ checksum=d9a878d9fd7f18842c9c8ed83bc96cab684753c90f2751d575a3cdd776ec78a5 system_accounts="_bluez_alsa" _bluez_alsa_groups="audio" -CFLAGS="-fcommon" - if [ "$XBPS_TARGET_ENDIAN" = "le" ]; then makedepends+=" ldacBT-devel" configure_args+=" --enable-ldac" diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template index 819f7a5e2e1..6dd3ec7919e 100644 --- a/srcpkgs/bolt/template +++ b/srcpkgs/bolt/template @@ -15,8 +15,6 @@ homepage="https://gitlab.freedesktop.org/bolt/bolt" distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${version}.tar.gz" checksum=478b0a71da5587c0e142a3b91e821a7d857260647494fa9544d2d8df05d560f6 -CFLAGS="-fcommon" - post_install() { vsv boltd } diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template index f257a820b9a..0015e20c10f 100644 --- a/srcpkgs/bspwm/template +++ b/srcpkgs/bspwm/template @@ -11,8 +11,6 @@ homepage="https://github.com/baskerville/bspwm" distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz" checksum=0d0f5e465b9c27a5c2143c86189392fa297fad55253b9ed8f6854473d3928f8f -CFLAGS="-fcommon" - post_install() { vlicense LICENSE } diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template index 0392d3cfb59..5426de27345 100644 --- a/srcpkgs/catimg/template +++ b/srcpkgs/catimg/template @@ -9,7 +9,6 @@ license="MIT" homepage="https://github.com/posva/catimg" distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz" checksum=3a6450316ff62fb07c3facb47ea208bf98f62abd02783e88c56f2a6508035139 -CFLAGS="-fcommon" post_install() { vlicense LICENSE diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template index 84059ffd023..659af7e64fe 100644 --- a/srcpkgs/ccextractor/template +++ b/srcpkgs/ccextractor/template @@ -5,7 +5,7 @@ revision=2 build_wrksrc="linux" build_style=gnu-configure configure_args="--enable-ocr --enable-hardsubx" -hostmakedepends="automake pkg-config" +hostmakedepends="automake pkg-config tesseract-ocr-devel" makedepends="leptonica-devel tesseract-ocr-devel ffmpeg-devel" short_desc="Extract subtitles from video streams" maintainer="newbluemoon " @@ -14,11 +14,7 @@ homepage="https://www.ccextractor.org/" changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT" distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz" checksum=0e66d3e360db1b02a88271af11313ca4c9bbda1b03728e264a44c4c9f77192e3 -CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon" - -if [ "$CROSS_BUILD" ]; then - hostmakedepends+=" tesseract-ocr-devel" -fi +CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0" pre_configure() { vsed -i configure.ac \ diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template index b51b8710cc0..bf45e86cf15 100644 --- a/srcpkgs/cdemu-daemon/template +++ b/srcpkgs/cdemu-daemon/template @@ -12,5 +12,3 @@ license="GPL-2.0-or-later" homepage="http://cdemu.sourceforge.net" distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.xz" checksum=a6e404e3ef75c6146e36354f65880dfd63b4b8ef1f54039dc5058e190f857d8f - -CFLAGS="-fcommon" diff --git a/srcpkgs/cdogs-sdl/template b/srcpkgs/cdogs-sdl/template index 855c6ceae66..b9507d9349d 100644 --- a/srcpkgs/cdogs-sdl/template +++ b/srcpkgs/cdogs-sdl/template @@ -18,8 +18,6 @@ distfiles="https://github.com/cxong/cdogs-sdl/archive/${version}.tar.gz" checksum=3b863a092b23da8b210383831ff490a10dd6fda77b997fe2bf39cedcfa0a8937 replaces="cdogs-sdl-data<=0.7.3" -CFLAGS="-fcommon" - pre_configure() { vsed -i CMakeLists.txt -e "s; -Werror;;" } diff --git a/srcpkgs/ckb-next/template b/srcpkgs/ckb-next/template index dba89225e21..5632bd77f7b 100644 --- a/srcpkgs/ckb-next/template +++ b/srcpkgs/ckb-next/template @@ -15,8 +15,6 @@ homepage="https://github.com/ckb-next/ckb-next" distfiles="${homepage}/archive/v${version}.tar.gz" checksum=dd7c9a30ce7bf4fafcdfff974c519b2b3d2ff888c99d3255a6e0194ece5056f4 -CFLAGS="-fcommon" - post_install() { vsv ckb-next-daemon } diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template index a041bf61db1..eda6ba7aa50 100644 --- a/srcpkgs/cpio/template +++ b/srcpkgs/cpio/template @@ -11,5 +11,3 @@ license="GPL-3.0-or-later" homepage="http://www.gnu.org/software/cpio/" distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2" checksum=937610b97c329a1ec9268553fb780037bcfff0dcffe9725ebc4fd9c1aa9075db - -CFLAGS="-fcommon" diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template index d8390d5726e..d7afe276a13 100644 --- a/srcpkgs/crispy-doom/template +++ b/srcpkgs/crispy-doom/template @@ -12,8 +12,6 @@ homepage="https://github.com/fabiangreffrath/crispy-doom" distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz" checksum=2b85649c615efeac7573883370e9434255af301222b323120692cb9649b7f420 -CFLAGS="-fcommon" - pre_configure() { autoreconf -fi } diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template index 2536a9baca3..199782284f5 100644 --- a/srcpkgs/csound/template +++ b/srcpkgs/csound/template @@ -19,8 +19,7 @@ homepage="https://csound.com/" distfiles="https://github.com/csound/csound/archive/${version}.tar.gz" checksum=b84be8237fa9258ef60fdddf36fae27b20c11665811bf5ed12540da9a9a4414e -CFLAGS="-fcommon" -CXXFLAGS="-Wno-error -fcommon" +CXXFLAGS="-Wno-error" case $XBPS_TARGET_MACHINE in *-musl) makedepends+=" libexecinfo-devel";; diff --git a/srcpkgs/espeak-ng/template b/srcpkgs/espeak-ng/template index d50dcf99e38..87fcf4e5535 100644 --- a/srcpkgs/espeak-ng/template +++ b/srcpkgs/espeak-ng/template @@ -18,8 +18,6 @@ if [ "$CROSS_BUILD" ]; then hostmakedepends+=" espeak-ng" fi -CFLAGS="-fcommon" - pre_configure() { ./autogen.sh } diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template index 0f0bb25dbf8..44bb7bb80ca 100644 --- a/srcpkgs/ettercap/template +++ b/srcpkgs/ettercap/template @@ -16,8 +16,6 @@ distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz" checksum=d0c3ef88dfc284b61d3d5b64d946c1160fd04276b448519c1ae4438a9cdffaf3 lib32disabled=yes -CFLAGS="-fcommon" - post_extract() { rm -rf bundled_deps } diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template index fa6144f62b9..95c02628ce9 100644 --- a/srcpkgs/gdbm/template +++ b/srcpkgs/gdbm/template @@ -18,8 +18,6 @@ if [ "$CROSS_BUILD" ]; then } fi -CFLAGS="-fcommon" - post_install() { # create symlinks for compatibility vmkdir usr/include/gdbm diff --git a/srcpkgs/global/template b/srcpkgs/global/template index 3e5fc2e1762..69efe233a7e 100644 --- a/srcpkgs/global/template +++ b/srcpkgs/global/template @@ -14,5 +14,3 @@ homepage="https://www.gnu.org/software/global/" distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=9c3730bd9e975d94231f3402d5526b79c0b23cc665d624c9829c948dfad37b83 python_version=3 - -CFLAGS="-fcommon" diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template index c996fd8eda4..5fc213e75b8 100644 --- a/srcpkgs/gst-plugins-bad1/template +++ b/srcpkgs/gst-plugins-bad1/template @@ -41,8 +41,6 @@ build_options="gir gme wayland" build_options_default="gir wayland" desc_option_gme="Build with Game Music Emulator support" -CFLAGS="-fcommon" - case "$XBPS_TARGET_MACHINE" in mips*) ;; # libgme cannot be built for mips* *) build_options_default+=" gme" ;; diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template index 5736a2d455c..9fbe51df526 100644 --- a/srcpkgs/hebcal/template +++ b/srcpkgs/hebcal/template @@ -11,8 +11,6 @@ homepage="https://www.hebcal.com/" distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz" checksum=6295bc183d8a9694f2546100909fb0b1943f0acc55c9743937f435f17d47ddbc -CFLAGS="-fcommon" - pre_configure() { autoreconf -fi # aclocal && autoconf && automake --foreign --add-missing diff --git a/srcpkgs/hedgewars/template b/srcpkgs/hedgewars/template index 94b6db673b0..8dd0e4252ca 100644 --- a/srcpkgs/hedgewars/template +++ b/srcpkgs/hedgewars/template @@ -46,9 +46,6 @@ pre_configure() { # remove option not supported by clang CFLAGS=${CFLAGS/-fstack-clash-protection/} CXXFLAGS=${CXXFLAGS/-fstack-clash-protection/} - # prevent multiple definitions - CFLAGS+=" -fcommon" - CXXFLAGS+=" -fcommon" fi } diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template index 8ecb3311c72..fb225d095fa 100644 --- a/srcpkgs/heyu/template +++ b/srcpkgs/heyu/template @@ -12,8 +12,6 @@ homepage="http://www.heyu.org" distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz" checksum=0c3435ea9cd57cd78c29047b9c961f4bfbec39f42055c9949acd10dd9853b628 -CFLAGS="-fcommon" - pre_configure() { sed -i 's:local/::' Configure sed -i 's:/man:/share/man:' Configure diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template index 2a5f5a0a003..75587d48146 100644 --- a/srcpkgs/i3lock/template +++ b/srcpkgs/i3lock/template @@ -15,8 +15,6 @@ changelog="https://raw.githubusercontent.com/i3/i3lock/main/CHANGELOG" distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.xz" checksum=5711ae5255e82b1dc8d8b4c035c520230921aba7ceee23d66f79765b21a84baa -CFLAGS="-fcommon" - pre_build() { vsed -i 's:login:system-auth:' pam/i3lock } diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template index 3563559304b..cf879e9c0a7 100644 --- a/srcpkgs/ibus-rime/template +++ b/srcpkgs/ibus-rime/template @@ -12,4 +12,3 @@ license="GPL-3.0-only" homepage="https://rime.im/" distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz" checksum=e633bde71055b9298837c7fdd73c5694594633e08bf58b6e5cf17bac4959dacb -CFLAGS="-fcommon" diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template index d7ef3685be1..98324dc6948 100644 --- a/srcpkgs/kexec-tools/template +++ b/srcpkgs/kexec-tools/template @@ -12,8 +12,6 @@ homepage="http://kernel.org/pub/linux/utils/kernel/kexec/" distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz" checksum=d2f0ef872f39e2fe4b1b01feb62b0001383207239b9f8041f98a95564161d053 -CFLAGS="-fcommon" - case "$XBPS_TARGET_MACHINE" in ppc-musl) nopie=yes;; # textrels not supported esac diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template index fee5a207fb7..843977f4c09 100644 --- a/srcpkgs/lastpass-cli/template +++ b/srcpkgs/lastpass-cli/template @@ -14,8 +14,6 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md" distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz" checksum=3fb1373fc05d568599da7657fcff801cbaa704254f00bb8e13d4510cb236be90 -CFLAGS="-fcommon" - do_check() { cd build ninja "${makejobs}" lpass-test diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template index d73e555efe0..c2c74d8dac5 100644 --- a/srcpkgs/libfreeglut/template +++ b/srcpkgs/libfreeglut/template @@ -11,8 +11,6 @@ homepage="http://freeglut.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz" checksum=c5944a082df0bba96b5756dddb1f75d0cd72ce27b5395c6c1dde85c2ff297a50 -CFLAGS="-fcommon" - post_install() { vlicense COPYING } diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template index 1644d0a3aa1..0c55ee0404e 100644 --- a/srcpkgs/libmirage/template +++ b/srcpkgs/libmirage/template @@ -17,8 +17,6 @@ checksum=fa892480d7954bcca8292ad00f2e08b7b3e23e54d288eb14a05c50d454bdb3d3 build_options="gir" build_options_default="gir" -CFLAGS="-fcommon" - libmirage-devel_package() { short_desc+=" - development files" depends="libmirage-${version}_${revision}" diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template index bd761f611e1..e5c3b8ed1b3 100644 --- a/srcpkgs/libowfat/template +++ b/srcpkgs/libowfat/template @@ -12,8 +12,6 @@ distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz" checksum=311ec8b3f4b72bb442e323fb013a98f956fa745547f2bc9456287b20d027cd7d disable_parallel_build=yes -CFLAGS="-fcommon" - do_build() { make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3" } diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template index 38d6ca5c9d8..ee38c43be11 100644 --- a/srcpkgs/libunwind/template +++ b/srcpkgs/libunwind/template @@ -14,8 +14,6 @@ checksum=ddf0e32dd5fafe5283198d37e4bf9decf7ba1770b6e7e006c33e6df79e6a6157 # many test failures make_check=no -CFLAGS="-fcommon" - # Enable C++ exception handling (doesn't work too well on x86) case "$XBPS_TARGET_MACHINE" in x86_64*|i686*) ;; diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template index f42a9eb5f5b..c0a33c3b964 100644 --- a/srcpkgs/lilo/template +++ b/srcpkgs/lilo/template @@ -12,7 +12,6 @@ homepage="http://www.joonet.de/lilo" distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz" checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1 -CFLAGS="-fcommon" pre_build() { sed -i Makefile src/Makefile \ diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template index 8db84312da0..283f3fb93c9 100644 --- a/srcpkgs/lxpanel/template +++ b/srcpkgs/lxpanel/template @@ -18,8 +18,6 @@ checksum=1e318f57d7e36b61c23a504d03d2430c78dad142c1804451061f1b3ea5441ee8 lib32disabled=yes -CFLAGS="-fcommon" - lxpanel-devel_package() { depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template index dcb7017e171..9cb7de451ef 100644 --- a/srcpkgs/lxtask/template +++ b/srcpkgs/lxtask/template @@ -13,5 +13,3 @@ license="GPL-2.0-or-later" homepage="http://lxde.org/" distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz" checksum=2216df9bc4bb2d80733e788966512ac58c421e0a0a1ff85210f34a29d1eb4e2c - -CFLAGS="-fcommon" diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template index 37a9b0f3ea4..b3a936b07ca 100644 --- a/srcpkgs/nemesis/template +++ b/srcpkgs/nemesis/template @@ -12,8 +12,6 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog. distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz" checksum=c480570284ba86aa8643eac0d582aaedaeaefa4773b7d0ac9549e4f42c40e78a -CFLAGS="-fcommon" - post_install() { vlicense LICENSE } diff --git a/srcpkgs/xorg-server/template b/srcpkgs/xorg-server/template index cd21d6e3bab..739bbf40f04 100644 --- a/srcpkgs/xorg-server/template +++ b/srcpkgs/xorg-server/template @@ -40,9 +40,6 @@ case "$XBPS_TARGET_MACHINE" in *) configure_args+=" -Dint10=false" ;; esac -# gcc10 needs to be hinted when symbols have multiple definitions -CFLAGS="-fcommon" - # Symbols must be resolved lazily for modules to work. # See https://bugs.freedesktop.org/show_bug.cgi?id=41208#c5 LDFLAGS="-Wl,-z,lazy"