summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--patches/glib-2.46.2.local.patch11
-rw-r--r--vars/build.vars2
2 files changed, 12 insertions, 1 deletions
diff --git a/patches/glib-2.46.2.local.patch b/patches/glib-2.46.2.local.patch
index 31dc5aeb..d30cf5b8 100644
--- a/patches/glib-2.46.2.local.patch
+++ b/patches/glib-2.46.2.local.patch
@@ -20,3 +20,14 @@
Name: GLib
Description: C Utility Library
+--- glib-2.46.2/configure.orig 2015-11-06 22:28:54.000000000 +0000
++++ glib-2.46.2/configure 2017-09-06 17:48:13.444000000 +0000
+@@ -28873,7 +28873,7 @@
+ -Wall -Wstrict-prototypes -Werror=declaration-after-statement \
+ -Werror=missing-prototypes -Werror=implicit-function-declaration \
+ -Werror=pointer-arith -Werror=init-self -Werror=format-security \
+- -Werror=format=2 -Werror=missing-include-dirs; do
++ -Werror=missing-include-dirs; do
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports flag $flag in envvar CFLAGS" >&5
+ $as_echo_n "checking if $CC supports flag $flag in envvar CFLAGS... " >&6; }
diff --git a/vars/build.vars b/vars/build.vars
index 53c1828d..5a7382f4 100644
--- a/vars/build.vars
+++ b/vars/build.vars
@@ -334,7 +334,7 @@ LIB_PACKAGES_PREFIX="${PREFIX_NATIVE}";
: ${PKG_GLIB_HOST_CFLAGS_CONFIGURE:="${LIB_PACKAGES_CFLAGS_CONFIGURE_DEFAULT:+${LIB_PACKAGES_CFLAGS_CONFIGURE_DEFAULT} }"};
: ${PKG_GLIB_HOST_CONFIGURE_ARGS:="-C --disable-libelf --disable-nls --prefix=${PREFIX} --program-prefix="};
: ${PKG_GLIB_HOST_ENV_VARS_EXTRA:=LIBFFI_CFLAGS=-I${PREFIX}/lib/libffi-${PKG_LIBFFI_HOST_VERSION}/include:LIBFFI_LIBS=-L${PREFIX}/lib -lffi};
-: ${PKG_GLIB_HOST_LDFLAGS_CONFIGURE:=-L${PREFIX}/lib};
+: ${PKG_GLIB_HOST_LDFLAGS_CONFIGURE:="-L${PREFIX}/lib -L${PREFIX}/lib64"};
: ${PKG_GLIB_HOST_MAKEFLAGS_INSTALL:=DESTDIR=};
: ${PKG_GLIB_HOST_MAKEFLAGS_BUILD_EXTRA:=V=99};
: ${PKG_GLIB_SHA256SUM:=5031722e37036719c1a09163cc6cf7c326e4c4f1f1e074b433c156862bd733db};