Commit 9ffab184 authored by Sean McGovern's avatar Sean McGovern Committed by Jean-Baptiste Kempf

contrib/ass: use correct ASFLAGS for yasm on Solaris

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 66c53a28
--- libass/configure.ac.ORIG Wed Jan 7 14:00:15 2015
+++ libass/configure.ac Thu Jul 2 18:57:07 2015
@@ -70,7 +70,7 @@
AS_CASE([$host],
[*darwin*], [
ASFLAGS="$ASFLAGS -f macho$BITS -DPREFIX -DHAVE_ALIGNED_STACK=1" ],
- [*linux*|*dragonfly*|*bsd*], [
+ [*linux*|*dragonfly*|*bsd*|*solaris*], [
ASFLAGS="$ASFLAGS -f elf -DHAVE_ALIGNED_STACK=1" ],
[*cygwin*|*mingw*], [
ASFLAGS="$ASFLAGS -f win$BITS"
......@@ -33,6 +33,7 @@ $(TARBALLS)/libass-$(ASS_VERSION).tar.gz:
libass: libass-$(ASS_VERSION).tar.gz .sum-ass
$(UNPACK)
$(APPLY) $(SRC)/ass/ass-macosx.patch
$(APPLY) $(SRC)/ass/ass-solaris.patch
$(UPDATE_AUTOCONFIG)
$(MOVE)
......@@ -53,6 +54,7 @@ ASS_CONF += --disable-harfbuzz
endif
.ass: libass
$(RECONF)
cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS) -O3" ./configure $(HOSTCONF) $(ASS_CONF)
cd $< && $(MAKE) 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