mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
openexr: gcc6 musl hack no longer required
This commit is contained in:
parent
fb4419cb57
commit
5b6d1db418
1 changed files with 1 additions and 10 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'openexr'
|
# Template file for 'openexr'
|
||||||
pkgname=openexr
|
pkgname=openexr
|
||||||
version=2.2.0
|
version=2.2.0
|
||||||
revision=4
|
revision=5
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://www.openexr.com/"
|
homepage="http://www.openexr.com/"
|
||||||
|
@ -14,15 +14,6 @@ checksum="36a012f6c43213f840ce29a8b182700f6cf6b214bea0d5735594136b44914231"
|
||||||
|
|
||||||
LDFLAGS="-lrt"
|
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() {
|
post_configure() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
# Don't try to rebuild these header files when cross compiling
|
# Don't try to rebuild these header files when cross compiling
|
||||||
|
|
Loading…
Add table
Reference in a new issue