Skip to content
Snippets Groups Projects
Commit 34f1077e authored by Kateryna Kostiuk's avatar Kateryna Kostiuk Committed by Adrien Béraud
Browse files

x246: fix for iOS and cleanup

Change-Id: Ib26c2977182e61dc25eb2beb9670bc5268757fad
parent c48e2789
No related branches found
No related tags found
No related merge requests found
--- x264/configure 2013-03-01 16:21:59.000000000 -0500
+++ x264patched/configure 2015-01-14 14:11:27.000000000 -0500
@@ -456,7 +456,7 @@
;;
darwin*)
SYS="MACOSX"
- CFLAGS="$CFLAGS -falign-loops=16"
+ CFLAGS="$CFLAGS"
libm="-lm"
if [ "$pic" = "no" ]; then
cc_check "" -mdynamic-no-pic && CFLAGS="$CFLAGS -mdynamic-no-pic"
......@@ -52,8 +52,12 @@ x264: x264-$(X264_HASH).tar.xz .sum-x264
.x264: x264
ifdef HAVE_ANDROID
cd $< && $(HOSTVARS) AS="$(CC)" ./configure $(X264CONF)
else
ifdef HAVE_IOS
cd $< && $(HOSTVARS) ASFLAGS="$(CFLAGS)" ./configure $(X264CONF)
else
cd $< && $(HOSTVARS) ./configure $(X264CONF)
endif
endif
cd $< && $(MAKE) install
touch $@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment