From eda0bb4f4756ab5948bf9395b489d5d895a50604 Mon Sep 17 00:00:00 2001
From: Aline Gondim Santos <aline.gondimsantos@savoirfairelinux.com>
Date: Wed, 12 Oct 2022 10:36:06 -0300
Subject: [PATCH] WaterMark: fix android build

Change-Id: I6e62423be318dee7ff3b6f6897f0803af9b332b0
---
 WaterMark/build.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/WaterMark/build.sh b/WaterMark/build.sh
index 544c39a..f2a3e37 100755
--- a/WaterMark/build.sh
+++ b/WaterMark/build.sh
@@ -308,17 +308,16 @@ then
         #=========================================================
 
         # Create so destination folder
-        $CXX --std=c++17 -O3 -g -fPIC \
+        $CXX --std=c++17 -O3 -fPIC \
         -Wl,-Bsymbolic,-rpath,"\${ORIGIN}" \
         -shared \
         -Wall -Wextra \
-        -Wno-unused-variable \
-        -Wno-unused-function \
         -Wno-unused-parameter \
         -I"." \
         -I"${DAEMON_SRC}" \
         -I"${CONTRIB_PATH}/${CONTRIB_PLATFORM}/include" \
         -I"${PLUGINS_LIB}" \
+        ./../lib/common.cpp \
         ./../lib/accel.cpp \
         ./../lib/frameUtils.cpp \
         ./../lib/frameFilter.cpp \
-- 
GitLab