[vlc-commits] [Git][videolan/vlc][master] configure: don't pass -gcodeview to the linker

Steve Lhomme (@robUx4) gitlab at videolan.org
Tue Mar 29 06:24:23 UTC 2022



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
b7000215 by Steve Lhomme at 2022-03-28T08:13:09+00:00
configure: don't pass -gcodeview to the linker

CFLAGS is added to the linker flags and newer LLVM don't like that.
CPPFLAGS is used during C compilation and C++ but not added to LDFLAGS.

- - - - -


1 changed file:

- configure.ac


Changes:

=====================================
configure.ac
=====================================
@@ -422,8 +422,7 @@ AC_ARG_ENABLE([pdb],
 AS_IF([test "${SYS}" = "mingw32"],[
   AS_IF([test "${enable_pdb}" = "yes"], [
     vlc_build_pdb=1
-    AX_APPEND_FLAG([-g -gcodeview],[CFLAGS])
-    AX_APPEND_FLAG([-g -gcodeview],[CXXFLAGS])
+    AX_APPEND_FLAG([-g -gcodeview],[CPPFLAGS])
     LDFLAGS="${LDFLAGS} -Wl,-pdb="
   ],[])
 ])



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/b700021569c1f16f63c86a9ccd912cfdc7126f41
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