blob: b93602a268a5f40574e598d4b0ea75ad566970cc [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001Author: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
2
3When build on host with older eglibc (Ubuntu 12.04) build fails with:
4
5/tmp/OE/build/tmp-eglibc/sysroots/genericarmv8/usr/include/bits/predefs.h:23:3: error: #error "Never use <bits/predefs.h> directly; include <stdc-predef.h> instead."
6
7Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
8
9Upstream-Status: Inappropriate [embedded specific]
10
11---
12 Makefile.am | 2 +-
13 sample/Makefile.am | 2 +-
14 2 files changed, 2 insertions(+), 2 deletions(-)
15
16--- onig-5.9.3.orig/Makefile.am
17+++ onig-5.9.3/Makefile.am
18@@ -4,11 +4,11 @@ sampledir = $(top_srcdir)/sample
19 libname = libonig.la
20
21 ACLOCAL_AMFLAGS = -I m4
22 #AM_CFLAGS = -DNOT_RUBY
23 AM_CFLAGS =
24-INCLUDES = -I$(top_srcdir) -I$(includedir)
25+INCLUDES = -I$(top_srcdir)
26
27 SUBDIRS = . sample
28
29 include_HEADERS = oniguruma.h oniggnu.h onigposix.h
30 lib_LTLIBRARIES = $(libname)
31--- onig-5.9.3.orig/sample/Makefile.am
32+++ onig-5.9.3/sample/Makefile.am
33@@ -1,10 +1,10 @@
34 noinst_PROGRAMS = encode listcap names posix simple sql syntax crnl
35
36 libname = $(top_builddir)/libonig.la
37 LDADD = $(libname)
38-INCLUDES = -I$(top_srcdir) -I$(includedir)
39+INCLUDES = -I$(top_srcdir)
40
41 encode_SOURCES = encode.c
42 listcap_SOURCES = listcap.c
43 names_SOURCES = names.c
44 posix_SOURCES = posix.c