mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
osx support build nginx and ffmpeg
This commit is contained in:
parent
f3e5431d0f
commit
a28c051c2c
3 changed files with 60 additions and 40 deletions
19
trunk/3rdparty/patches/5.x264.osx.gcc.patch
vendored
Normal file
19
trunk/3rdparty/patches/5.x264.osx.gcc.patch
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
*** configure Sat Nov 30 05:45:08 2013
|
||||
--- ../x264-snapshot-20131129-2245-stable-patch/configure Tue Mar 17 21:42:24 2015
|
||||
***************
|
||||
*** 466,472 ****
|
||||
;;
|
||||
darwin*)
|
||||
SYS="MACOSX"
|
||||
! CFLAGS="$CFLAGS -falign-loops=16"
|
||||
libm="-lm"
|
||||
if [ "$pic" = "no" ]; then
|
||||
cc_check "" -mdynamic-no-pic && CFLAGS="$CFLAGS -mdynamic-no-pic"
|
||||
--- 466,472 ----
|
||||
;;
|
||||
darwin*)
|
||||
SYS="MACOSX"
|
||||
! CFLAGS="$CFLAGS"
|
||||
libm="-lm"
|
||||
if [ "$pic" = "no" ]; then
|
||||
cc_check "" -mdynamic-no-pic && CFLAGS="$CFLAGS -mdynamic-no-pic"
|
Loading…
Add table
Add a link
Reference in a new issue