[vlc-commits] [Git][videolan/vlc][master] macosx: configure.sh: do not export unnecessary flags

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Thu Apr 16 19:40:45 UTC 2026



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
97a2d2ab by Marvin Scholz at 2026-04-16T20:20:14+02:00
macosx: configure.sh: do not export unnecessary flags

These are unused in the script so this is unnecessary, and for CFLAGS
even has the side-effect that the default options that configure would
set (-g -O2) are not added. This is not a problem for the -O, as our
configure script anyway sets their own, but the lack of -g leads to no
debug symbols in C code.

Ref #29766

- - - - -


1 changed file:

- extras/package/macosx/configure.sh


Changes:

=====================================
extras/package/macosx/configure.sh
=====================================
@@ -3,9 +3,6 @@
 SCRIPTDIR=$(dirname "$0")
 . "$SCRIPTDIR/env.build.sh" "none"
 
-CFLAGS=${CFLAGS}
-LDFLAGS=${LDFLAGS}
-
 OPTIONS="
         --prefix=/
         --enable-macosx
@@ -26,9 +23,6 @@ OPTIONS="
         --without-x
 "
 
-export CFLAGS
-export LDFLAGS
-
 vlcSetSymbolEnvironment
 
 sh "$(dirname $0)"/../../../configure ${OPTIONS} "$@"



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

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




More information about the vlc-commits mailing list