mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
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>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- a/glib/valgrind.h 2019-12-12 14:53:26.000200499 +0100
|
||||
+++ b/glib/valgrind.h 2019-12-12 14:49:45.056163300 +0100
|
||||
@@ -157,7 +157,7 @@
|
||||
# define PLAT_s390x_linux 1
|
||||
#elif defined(__linux__) && defined(__mips__) && (__mips==64)
|
||||
# define PLAT_mips64_linux 1
|
||||
-#elif defined(__linux__) && defined(__mips__) && (__mips!=64)
|
||||
+#elif defined(__linux__) && defined(__mips__) && (__mips!=64) && !defined(__mips16)
|
||||
# define PLAT_mips32_linux 1
|
||||
#elif defined(__sun) && defined(__i386__)
|
||||
# define PLAT_x86_solaris 1
|
||||
Reference in New Issue
Block a user