[vlc-commits] [Git][videolan/vlc][master] configure/demux: use C++ flags for sid plugin

Rémi Denis-Courmont (@Courmisch) gitlab at videolan.org
Sun Jun 5 07:24:23 UTC 2022



Rémi Denis-Courmont pushed to branch master at VideoLAN / VLC


Commits:
8f0728c8 by Johannes Kauffmann at 2022-06-05T05:42:56+00:00
configure/demux: use C++ flags for sid plugin

- - - - -


2 changed files:

- configure.ac
- modules/demux/Makefile.am


Changes:

=====================================
configure.ac
=====================================
@@ -2237,7 +2237,7 @@ AS_IF([test "${enable_sid}" != "no"], [
         CPPFLAGS="$CPPFLAGS $SID_CFLAGS"
         AC_CHECK_HEADER([sidplay/builders/resid.h], [
             VLC_ADD_PLUGIN([sid])
-            VLC_ADD_CFLAGS([sid], [$SID_CFLAGS])
+            VLC_ADD_CXXFLAGS([sid], [$SID_CFLAGS])
             VLC_ADD_LIBS([sid], [$SID_LIBS] [-lresid-builder])
         ], [
             AS_IF([test -n "${enable_sid}"],


=====================================
modules/demux/Makefile.am
=====================================
@@ -119,7 +119,7 @@ EXTRA_LTLIBRARIES += libgme_plugin.la
 demux_LTLIBRARIES += $(LTLIBgme)
 
 libsid_plugin_la_SOURCES = demux/sid.cpp
-libsid_plugin_la_CFLAGS = $(AM_CFLAGS) $(CFLAGS_sid)
+libsid_plugin_la_CXXFLAGS = $(AM_CXXFLAGS) $(CXXFLAGS_sid)
 libsid_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(demuxdir)'
 libsid_plugin_la_LIBADD = $(LIBS_sid)
 EXTRA_LTLIBRARIES += libsid_plugin.la



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8f0728c88accc8e93190449407289d18da34f849

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8f0728c88accc8e93190449407289d18da34f849
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list