diff options
author | Mikhail Kashkarov <m.kashkarov@partner.samsung.com> | 2019-12-19 12:57:54 +0300 |
---|---|---|
committer | Mikhail Kashkarov <m.kashkarov@partner.samsung.com> | 2019-12-19 12:57:54 +0300 |
commit | 7a256a3a393acebceb12b6e64f5d98189ba4b009 (patch) | |
tree | ebbf60c32a62f71e9eeea898eb42c02de155d587 /packaging | |
parent | 6372bf3677c216ce8dd4dad90c51a6f2bff17f12 (diff) | |
download | ltrace-7a256a3a393acebceb12b6e64f5d98189ba4b009.tar.gz ltrace-7a256a3a393acebceb12b6e64f5d98189ba4b009.tar.bz2 ltrace-7a256a3a393acebceb12b6e64f5d98189ba4b009.zip |
[Tizen 6.0] Enable build with glibc 2.30sandbox/mkashkarov/tizen_6.0_build
Tune up glibc test feature macros:
In file included from /usr/include/gelf.h:53,
from ../../backend.h:27,
from hooks.c:31:
/usr/include/libelf.h:98:3: error: unknown type name 'loff_t'
98 | loff_t d_off; /* Offset into section. */
| ^~~~~~
loff_t is in <sys/types.h>:
#ifdef __USE_MISC
# ifndef __u_char_defined
typedef __u_char u_char;
typedef __u_short u_short;
typedef __u_int u_int;
typedef __u_long u_long;
typedef __quad_t quad_t;
typedef __u_quad_t u_quad_t;
typedef __fsid_t fsid_t;
# define __u_char_defined
# endif
typedef __loff_t loff_t;
#endif
Signed-off-by: Mikhail Kashkarov <m.kashkarov@partner.samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/ltrace.spec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/ltrace.spec b/packaging/ltrace.spec index c4373e1..1b30965 100644 --- a/packaging/ltrace.spec +++ b/packaging/ltrace.spec @@ -30,7 +30,7 @@ child processes may fail or some things may not work as expected. cp %{SOURCE1001} . %build -export CFLAGS="%{optflags} -Wall -Wno-unused-local-typedefs" +export CFLAGS="%{optflags} -Wall -Wno-unused-local-typedefs -Wp,-D_GNU_SOURCE" ./autogen.sh %configure --build=%{_target_cpu}-tizen-linux make |