bugfix for ilmbase: remove obsolete compiler options

This commit is contained in:
Tony Theodore 2010-10-02 22:25:02 +10:00
parent 9c55997333
commit ca610a8b7f
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,18 @@
This file is part of mingw-cross-env.
See doc/index.html for further information.
This patch has been taken from http://lists.nongnu.org/archive/html/openexr-devel/2010-08/msg00011.html
Here, we just patch configure to save an autoconf
diff -ur ilmbase-1.0.2.orig/configure ilmbase-1.0.2/configure
--- ilmbase-1.0.2.orig/configure 2010-07-23 11:13:13.000000000 +1000
+++ ilmbase-1.0.2/configure 2010-09-27 00:01:17.000000000 +1000
@@ -20374,7 +20374,6 @@
case "$host" in
*darwin*)
- CXXFLAGS="$CXXFLAGS -Wno-long-double"
# Check whether --enable-osx-arch or --disable-osx-arch was given.
if test "${enable_osx_arch+set}" = set; then

View File

@ -22,6 +22,8 @@ endef
define $(PKG)_BUILD
# unpack and build a native version of ilmbase
cd '$(1)' && $(call UNPACK_PKG_ARCHIVE,ilmbase)
$(foreach PKG_PATCH,$(sort $(wildcard $(TOP_DIR)/src/ilmbase-*.patch)),
(cd '$(1)/$(ilmbase_SUBDIR)' && $(PATCH) -p1 -u) < $(PKG_PATCH))
cd '$(1)/$(ilmbase_SUBDIR)' && $(SHELL) ./configure \
--disable-shared \
--prefix='$(1)/ilmbase' \