desktop/wmSunMoon: Pass -fcommon with the CFLAGS for gcc >= 10.x.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2021-10-03 22:51:42 +02:00 committed by Willy Sudiarto Raharjo
parent 99b623a181
commit de13cd7657
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -65,7 +65,7 @@ find -L . \
cd wmSunMoon
mkdir -p $PKG/usr/{bin,man/man1,,man/man7,doc/$PRGNAM-$VERSION}
make \
COPTS="$SLKCFLAGS" \
COPTS="$SLKCFLAGS -fcommon" \
INCDIR="-I/usr/include/X11" \
LIBDIR="-L/usr/lib${LIBDIRSUFFIX}/X11"
cp -a wmSunMoon $PKG/usr/bin