summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-03-31 20:17:02 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-03-31 20:17:02 +0200
commit91f784c0c8d7ff9e86971739a760fd976fc1a215 (patch)
tree078a6d0e6d50be2b2484dcff0259415065ea235b /package
parenta5763f1361a0e903dda77d98c49dac779a7fd980 (diff)
fix lto compile
Diffstat (limited to 'package')
-rw-r--r--package/glib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/glib/Makefile b/package/glib/Makefile
index 37816d5cb..e3d0625df 100644
--- a/package/glib/Makefile
+++ b/package/glib/Makefile
@@ -28,6 +28,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,GLIB,glib,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
$(eval $(call PKG_template,GLIB_DEV,glib-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_GLIB_DEV},${PKGSC_GLIB_DEV},${PKG_OPTS}))
+TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
CONFIGURE_ARGS+= --enable-debug=no \
--disable-mem-pools \
--disable-rebuilds \
@@ -45,7 +46,6 @@ pre-configure:
ifneq ($(OStype),Darwin)
(cd ${WRKBUILD}; rm -rf config.{cache,status}; \
./configure --prefix=$(STAGING_HOST_DIR) \
- --with-libiconv=gnu \
);
${MAKE} -C ${WRKBUILD} V=1
$(CP) ${WRKBUILD}/gio/.libs/glib-compile-schemas ${STAGING_HOST_DIR}/bin