mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
A compiler bug (suspiciously) blocks gnulib compilation for
mipsel_24kc_24kf. While we had this patch to disable gnulib, it was
accidentally removed by 5d27631d9f. Add it
back to fix the long broken build for mipsel_24kc_24kf.
Fixes: #19511
Signed-off-by: Jitao Lu <dianlujitao@gmail.com>
12 lines
475 B
Diff
12 lines
475 B
Diff
--- a/meson.build
|
|
+++ b/meson.build
|
|
@@ -1045,7 +1045,7 @@ if host_system == 'windows' and (cc.get_
|
|
glib_conf.set('HAVE_C99_SNPRINTF', false)
|
|
glib_conf.set('HAVE_C99_VSNPRINTF', false)
|
|
glib_conf.set('HAVE_UNIX98_PRINTF', false)
|
|
-elif not cc_can_run and host_system in ['ios', 'darwin']
|
|
+elif true
|
|
# All these are true when compiling natively on macOS, so we should use good
|
|
# defaults when building for iOS and tvOS.
|
|
glib_conf.set('HAVE_C99_SNPRINTF', true)
|