x86_64 was hardcoded this way it can be overloaded
make TARGET_ARCH=$RPM_ARCH did the trick on tizen
It was tested on arm
Change-Id: I6a3ba569807910c2bc4feef663c0a19d1792af07
Forwarded: https://gerrit.iotivity.org/gerrit/#/c/265/
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
#CXX := clang
OUT_DIR := $(BUILD)
OIC := ../..
+TARGET_ARCH?=x86_64
OIC_RES := $(OIC)/resource
-OIC_LIB := $(OIC)/out/linux/x86_64/release
+OIC_LIB := $(OIC)/out/linux/${TARGET_ARCH}/release
OBJS := OICMiddle.o \
Client.o \
Server.o \