chiark / gitweb /
libgpg-error: workaround no stdout atexit with constructor prior to N (#1017)
[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.5/configure ./configure
5 --- ../libvorbis-1.3.5/configure        2015-02-26 23:09:49.000000000 +0100
6 +++ ./configure 2017-01-22 23:48:11.744025641 +0100
7 @@ -12685,7 +12685,7 @@
8         case $host in
9         *86-*-linux*)
10                 DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
11 -               CFLAGS="-O3 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char"
12 +               CFLAGS="-O3 -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