Mercurial > mxe-octave
comparison src/exiv2.mk @ 1695:39c89a932887
package exiv2: gcc 4.6 workaround
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Fri, 25 Mar 2011 23:06:29 +0100 |
parents | 937554e72453 |
children | d3c23d0cf3f7 |
comparison
equal
deleted
inserted
replaced
1694:2fd5d13ff971 | 1695:39c89a932887 |
---|---|
22 define $(PKG)_BUILD | 22 define $(PKG)_BUILD |
23 # workaround for the missing snprintf() in the <cstdio> of GCC-4.4.0 | 23 # workaround for the missing snprintf() in the <cstdio> of GCC-4.4.0 |
24 $(SED) -i 's,#include <cstdio>,#include <stdio.h>,' '$(1)/xmpsdk/src/XMPMeta.cpp' | 24 $(SED) -i 's,#include <cstdio>,#include <stdio.h>,' '$(1)/xmpsdk/src/XMPMeta.cpp' |
25 # wine confuses the cross-compiling detection, so set it explicitly | 25 # wine confuses the cross-compiling detection, so set it explicitly |
26 $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure' | 26 $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure' |
27 $(SED) -i 's/ -no-undefined//;' '$(1)/configure' | |
27 cd '$(1)' && ./configure \ | 28 cd '$(1)' && ./configure \ |
28 --host='$(TARGET)' \ | 29 --host='$(TARGET)' \ |
29 --disable-shared \ | 30 --disable-shared \ |
30 --prefix='$(PREFIX)/$(TARGET)' \ | 31 --prefix='$(PREFIX)/$(TARGET)' \ |
31 --disable-visibility \ | 32 --disable-visibility \ |