chiark / gitweb /
preload-hacks: Some patches to make it work.
[termux-packages] / packages / libvorbis / configure.patch
1 clang does not support -mno-ieee-fp:
2   https://llvm.org/bugs/show_bug.cgi?id=25615
3
4 diff -u -r ../libvorbis-1.3.6/configure ./configure
5 --- ../libvorbis-1.3.6/configure        2018-03-16 03:36:56.000000000 +0000
6 +++ ./configure 2018-03-18 20:09:59.528102502 +0000
7 @@ -12734,7 +12734,7 @@
8         case $host in
9         *86-*-linux*)
10                 DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
11 -               CFLAGS="-O3 -Wall -Wextra -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char"
12 +               CFLAGS="-O3 -Wall -Wextra -ffast-math -D_REENTRANT -fsigned-char"
13  #                      PROFILE="-Wall -Wextra -pg -g -O3 -ffast-math -D_REENTRANT -fsigned-char -fno-inline -static"
14                 PROFILE="-Wall -Wextra -pg -g -O3 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char -fno-inline"
15