openexr: gcc6 musl hack no longer required

This commit is contained in:
Juergen Buchmueller 2017-01-02 16:31:13 +01:00
parent fb4419cb57
commit 5b6d1db418

View File

@ -1,7 +1,7 @@
# Template file for 'openexr'
pkgname=openexr
version=2.2.0
revision=4
revision=5
build_style=gnu-configure
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.openexr.com/"
@ -14,15 +14,6 @@ checksum="36a012f6c43213f840ce29a8b182700f6cf6b214bea0d5735594136b44914231"
LDFLAGS="-lrt"
if [ ${XBPS_GCC_VERSION_MAJOR} -gt 5 ]; then
case "$XBPS_TARGET_MACHINE" in
*-musl) # gcc6 fails with internal error
CFLAGS="-Os"
CXXFLAGS="-Os"
;;
esac
fi
post_configure() {
if [ "$CROSS_BUILD" ]; then
# Don't try to rebuild these header files when cross compiling