From: Dongkyun Son Date: Wed, 15 Jan 2020 03:48:58 +0000 (+0900) Subject: packaging: armv7l: add '-Wp,-D_FILE_OFFSET_BITS=64' flag X-Git-Tag: submit/tizen/20200115.041053^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F41%2F222441%2F1;p=platform%2Fcore%2Fwebapi%2Flibteec.git packaging: armv7l: add '-Wp,-D_FILE_OFFSET_BITS=64' flag Fixed arm 32-bit build on 64-bit host. scandir: Value too large for defined data type Change-Id: I65ffa1c777dc6cf5bfe0aeb90c892ff6e700f5ba Signed-off-by: Dongkyun Son --- diff --git a/packaging/webapi-plugins-teec.spec b/packaging/webapi-plugins-teec.spec index 5f53d38..717ad0a 100644 --- a/packaging/webapi-plugins-teec.spec +++ b/packaging/webapi-plugins-teec.spec @@ -36,6 +36,10 @@ Tizen TEF Framework Client API plugin %build +%ifarch armv7l +export CFLAGS="$CFLAGS -Wp,-D_FILE_OFFSET_BITS=64" +export CXXFLAGS="$CXXFLAGS -Wp,-D_FILE_OFFSET_BITS=64" +%endif export GYP_GENERATORS='ninja' GYP_OPTIONS="--depth=. -Dtizen=1 -Dextension_build_type=Debug -Dextension_host_os=%{profile} -Dprivilege_engine=%{tizen_privilege_engine}" GYP_OPTIONS="$GYP_OPTIONS -Ddisplay_type=%{display_type}"