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
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to