Skip to content

Commit

Permalink
x264: clang build fix
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@117575 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
jeremyhu committed Mar 4, 2014
1 parent 23af91b commit 3eecac8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions multimedia/x264/Portfile
Expand Up @@ -93,4 +93,10 @@ if {(${os.platform} eq "darwin" && ${os.major} >= 10 && ${build_arch} eq "x86_64
default_variants +asm
}

post-patch {
if {[string match "*clang*" ${configure.compiler}]} {
reinplace "s|-falign-loops=16||g" ${worksrcpath}/configure
}
}

livecheck.type none

0 comments on commit 3eecac8

Please sign in to comment.