glib2: fix mips16 build, add size reducing static link, fpic CFLAGS
authorAndy Walsh <andy.walsh44+github@gmail.com>
Fri, 13 Dec 2019 14:29:32 +0000 (15:29 +0100)
committerRosen Penev <rosenp@gmail.com>
Mon, 27 Jan 2020 23:46:16 +0000 (15:46 -0800)
commite6c686454ce23cbe4b869bc7543188dd7c6c5c9d
treec03ee3c293c8c1836c6751a5c606e9943cc8f947
parentef940752d2400da7ea293c8e85edc661c8e41bd0
glib2: fix mips16 build, add size reducing static link, fpic CFLAGS

* allows building as mips16 (fixes broken mips16/32 mixed static linking)
* add some static link related flags to reduce target binary size

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
(cherry-picked from a558b209440590deb5fae5ff32e4731c5e516194)
libs/glib2/Makefile
libs/glib2/patches/003-valgrind.h-mips16-fix.patch [new file with mode: 0644]