libvorbis: Patch to build with clang
This commit is contained in:
parent
daa6ae5ca9
commit
d4054f10e9
15
packages/libvorbis/configure.patch
Normal file
15
packages/libvorbis/configure.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
clang does not support -mno-ieee-fp:
|
||||||
|
https://llvm.org/bugs/show_bug.cgi?id=25615
|
||||||
|
|
||||||
|
diff -u -r ../libvorbis-1.3.5/configure ./configure
|
||||||
|
--- ../libvorbis-1.3.5/configure 2015-02-26 23:09:49.000000000 +0100
|
||||||
|
+++ ./configure 2017-01-22 23:48:11.744025641 +0100
|
||||||
|
@@ -12685,7 +12685,7 @@
|
||||||
|
case $host in
|
||||||
|
*86-*-linux*)
|
||||||
|
DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
|
||||||
|
- CFLAGS="-O3 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char"
|
||||||
|
+ CFLAGS="-O3 -ffast-math -D_REENTRANT -fsigned-char"
|
||||||
|
# PROFILE="-Wall -Wextra -pg -g -O3 -ffast-math -D_REENTRANT -fsigned-char -fno-inline -static"
|
||||||
|
PROFILE="-Wall -Wextra -pg -g -O3 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char -fno-inline"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user