From: Mikhail Kashkarov Date: Fri, 20 Dec 2019 20:23:49 +0000 (+0300) Subject: [Tizen 6.0] Support build with glibc 2.30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5fa0239c607556df21957407edcbb60e15226ff0;p=platform%2Fcore%2Fwebapi%2Flibteec.git [Tizen 6.0] Support build with glibc 2.30 Support armv7l builds for OBS [ 391s] + out/Default/desc_gentool /usr/lib/tizen-extensions-crosswalk/common /home/abuild/rpmbuild/BUILDROOT/webapi-plugins-2.58-3.3.arm/usr/lib/tizen-extensions-crosswalk/common [ 391s] scandir: Value too large for defined data type which caused by different dirent layout since glibc 2.25 and dirent is used by scandir routine: struct dirent { #ifndef __USE_FILE_OFFSET64 __ino_t d_ino; /* File serial number. */ #else __ino64_t d_ino; #endif .... Signed-off-by: Mikhail Kashkarov --- diff --git a/src/tool/tool.gyp b/src/tool/tool.gyp index ed978ce..b322b34 100644 --- a/src/tool/tool.gyp +++ b/src/tool/tool.gyp @@ -12,6 +12,7 @@ '-std=c++0x', '-Wall' ], + 'defines': ['_FILE_OFFSET_BITS=64' ], 'link_settings': {'libraries': [ '-ldl'], }, 'include_dirs': [ '/usr/include/webapi-plugins/src/'