Commit c41fcd64 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>
parent 624a2a4c
......@@ -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