Skip to content

Commit

Permalink
contrib: remove more mingw specific linker options
Browse files Browse the repository at this point in the history
These options are irrelevant for static libraries. Follow-up for

HandBrake@a4136a4
  • Loading branch information
marcosfrm authored and galad87 committed Apr 22, 2024
1 parent c697391 commit e6fc4d2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion contrib/ffmpeg/module.defs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ else ifeq (1-mingw,$(HOST.cross)-$(HOST.system))
--pkg-config=$(PKGCONFIG.exe) \
--pkg-config-flags="--static"
FFMPEG.GCC.args.extra += -fno-common
FFMPEG.GCC.args.extra-ldflags = -static-libgcc -static-libstdc++ -static
else ifeq (darwin,$(HOST.system))
FFMPEG.GCC.args.extra-ldflags = -lc++
else
Expand Down
3 changes: 0 additions & 3 deletions make/cross/aarch64-w64-mingw32.meson
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ strip = 'aarch64-w64-mingw32-strip'
windres = 'aarch64-w64-mingw32-windres'
dlltool = 'aarch64-w64-mingw32-dlltool'

[builtin_options]
c_link_args = ['-static-libgcc']

[properties]
needs_exe_wrapper = true

Expand Down
3 changes: 0 additions & 3 deletions make/cross/x86_64-w64-mingw32.meson
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ strip = 'x86_64-w64-mingw32-strip'
windres = 'x86_64-w64-mingw32-windres'
dlltool = 'x86_64-w64-mingw32-dlltool'

[builtin_options]
c_link_args = ['-static-libgcc']

[properties]
needs_exe_wrapper = true
has_function_posix_memalign = false
Expand Down

0 comments on commit e6fc4d2

Please sign in to comment.