Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame^] | 1 | Reduce debug info for xcb.c since on mips we run into a gcc5 bug |
| 2 | |
| 3 | https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302 |
| 4 | |
| 5 | This patch is a workaround to get past the gcc bug until its resolved. |
| 6 | it should have minimal impact on libxcb while make it work. |
| 7 | |
| 8 | Upstream-Status: Inappropriate [OE-Specific] |
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 10 | |
| 11 | Index: libxcb-1.11.1/src/Makefile.am |
| 12 | =================================================================== |
| 13 | --- libxcb-1.11.1.orig/src/Makefile.am |
| 14 | +++ libxcb-1.11.1/src/Makefile.am |
| 15 | @@ -188,6 +188,7 @@ EXTSOURCES += xkb.c |
| 16 | if BUILD_XKB |
| 17 | lib_LTLIBRARIES += libxcb-xkb.la |
| 18 | libxcb_xkb_la_LDFLAGS = -version-info 1:0:0 -no-undefined |
| 19 | +CFLAGS += -g1 |
| 20 | libxcb_xkb_la_LIBADD = $(XCB_LIBS) |
| 21 | nodist_libxcb_xkb_la_SOURCES = xkb.c xkb.h |
| 22 | endif |