vlc: fix (cross) build w/ gcc10

This commit is contained in:
Jürgen Buchmüller 2020-10-05 21:23:39 +02:00
parent 2635aeec82
commit cc32715de0

View file

@ -47,6 +47,9 @@ depends="freefont-ttf hicolor-icon-theme desktop-file-utils"
build_options="lua notify opengl qt smb svg v4l2 vaapi vdpau x265 sndio chromecast"
build_options_default="lua smb v4l2 x265 sndio chromecast"
CFLAGS="-fcommon"
CXXFLAGS="-fcommon"
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*|ppc64*)
# Enable x265, opengl and samba by default on x86 and ppc64.