projects
/
platform
/
upstream
/
iotivity.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tizen: packaging: build on x86_64 arm64 and others too
[platform/upstream/iotivity.git]
/
tools
/
tizen
/
iotivity.spec
diff --git
a/tools/tizen/iotivity.spec
b/tools/tizen/iotivity.spec
index
7f4358c
..
1cea601
100644
(file)
--- a/
tools/tizen/iotivity.spec
+++ b/
tools/tizen/iotivity.spec
@@
-35,7
+35,15
@@
developing applications that use %{name}.
%ifarch %arm
export RPM_ARCH=arm
%else
+%ifarch aarch64
+export RPM_ARCH=arm64
+%else
+%ifarch i586 i686 %{ix86}
export RPM_ARCH=x86
+%else
+export RPM_ARCH=%{_arch}
+%endif
+%endif
%endif
scons -j 4 TARGET_ARCH=$RPM_ARCH