Skip to content
Snippets Groups Projects
Commit 559b8f7a authored by Thomas Guillem's avatar Thomas Guillem
Browse files

contrib: vorbis: fix clang x86 build

Remove -mno-ieee-fp CFLAGS
parent 1cce101a
No related branches found
No related tags found
No related merge requests found
diff -Naur libvorbis.orig/configure.ac libvorbis/configure.ac
--- libvorbis.orig/configure.ac 2016-08-25 14:40:51.528447418 +0200
+++ libvorbis/configure.ac 2016-08-25 14:52:58.181761438 +0200
@@ -128,9 +128,9 @@
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"
+ PROFILE="-Wall -Wextra -pg -g -O3 -ffast-math -D_REENTRANT -fsigned-char -fno-inline"
# glibc < 2.1.3 has a serious FP bug in the math inline header
# that will cripple Vorbis. Look to see if the magic FP stack
......@@ -24,6 +24,9 @@ $(TARBALLS)/libvorbis-$(VORBIS_VERSION).tar.xz:
libvorbis: libvorbis-$(VORBIS_VERSION).tar.xz .sum-vorbis
$(UNPACK)
ifeq ($(CC), clang)
$(APPLY) $(SRC)/vorbis/clang.patch
endif
$(UPDATE_AUTOCONFIG)
$(APPLY) $(SRC)/vorbis/vorbis-bitcode.patch
$(call pkg_static,"vorbis.pc.in")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment