Commit fb951d94 authored by Tristan Matthews's avatar Tristan Matthews Committed by Jean-Baptiste Kempf

contrib: flac: use -mstackrealign on win32

Fixes #14104
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit c41fcd64a7dc84663931bfdea8c465a579deef05)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent daf3967e
......@@ -42,10 +42,15 @@ FLACCONF += --disable-asm-optimizations
endif
endif
FLAC_CFLAGS := $(CFLAGS)
ifdef HAVE_WIN32
FLAC_CFLAGS += -mstackrealign
endif
DEPS_flac = ogg $(DEPS_ogg)
.flac: flac
cd $< && $(HOSTVARS) ./configure $(FLACCONF)
cd $< && $(HOSTVARS) CFLAGS="$(FLAC_CFLAGS)" ./configure $(FLACCONF)
cd $</include && $(MAKE) install
cd $</src && $(MAKE) -C share install && $(MAKE) -C libFLAC install
touch $@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment