summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
author박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>2018-06-07 15:35:44 +0900
committer오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>2018-06-07 15:35:44 +0900
commit3d2e0c8e410550bc1bb08e027e5f812feca3b4ec (patch)
treebefb077d216378e5419a9a7837a1da993d045f6f /Makefile
parent1cc9b286434854cd1ed680c15a70c1a12f065e67 (diff)
downloadnnfw-3d2e0c8e410550bc1bb08e027e5f812feca3b4ec.tar.gz
nnfw-3d2e0c8e410550bc1bb08e027e5f812feca3b4ec.tar.bz2
nnfw-3d2e0c8e410550bc1bb08e027e5f812feca3b4ec.zip
Fix Werror option for ACL/Android (#1594)
This will fix giving two Werror option to ACL for Android Signed-off-by: SaeHie Park <saehie.park@samsung.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 503ca5829..0b78d91c2 100644
--- a/Makefile
+++ b/Makefile
@@ -88,7 +88,7 @@ TIMESTAMP_INSTALL=$(WORKDIR)/INSTALL
# for Build Arm Compute Library with SCONS
#
ACL_FOLDER=externals/acl
-ACL_COMMAND=scons -j${NPROCS} Werror=1 neon=1 opencl=1 examples=0 embed_kernels=1 os=$(TARGET_OS)
+ACL_COMMAND=scons -j${NPROCS} neon=1 opencl=1 examples=0 embed_kernels=1 os=$(TARGET_OS)
ifeq ($(TARGET_ARCH_LC),armv7l)
ACL_COMMAND+= arch=armv7a
ACL_BUILD_OUT=armv7a-$(TARGET_OS)
@@ -102,6 +102,8 @@ endif
ifeq ($(TARGET_OS),android)
ACL_COMMAND+= Werror=0
ANDROID_GNUSTL_PATH=$(ROOTFS_ARM64)/bin:$(ROOTFS_ARM64)/aarch64-linux-android/bin:$$PATH
+else
+ ACL_COMMAND+= Werror=1
endif
ifeq ($(BUILD_TYPE_LC),debug)
ACL_COMMAND+= debug=1 asserts=1