summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongkyun, Son <dongkyun.s@samsung.com>2016-02-29 07:23:45 +0900
committerDongkyun, Son <dongkyun.s@samsung.com>2016-03-04 17:09:37 +0900
commitfc89964553e51725ef402dd24bb8b4a5586c205b (patch)
tree556d3fdd85e291e9f7e73691baad6c5fa8594f7d
parenta20a327cc3652d5cd81bbd28a8198ac0260337eb (diff)
downloaddeviced-fc89964553e51725ef402dd24bb8b4a5586c205b.tar.gz
deviced-fc89964553e51725ef402dd24bb8b4a5586c205b.tar.bz2
deviced-fc89964553e51725ef402dd24bb8b4a5586c205b.zip
Change-Id: I3cbe4ac0b1279da14583113544105bc7e1a75fca Signed-off-by: Dongkyun, Son <dongkyun.s@samsung.com>
-rw-r--r--packaging/deviced.spec18
1 files changed, 11 insertions, 7 deletions
diff --git a/packaging/deviced.spec b/packaging/deviced.spec
index 768f0b8d..baaef216 100644
--- a/packaging/deviced.spec
+++ b/packaging/deviced.spec
@@ -248,6 +248,17 @@ Haptic Device manager library for device control (devel)
%if %{with wayland}
%define DPMS wayland
%endif
+cp %{SOURCE1} .
+cp %{SOURCE2} .
+cp %{SOURCE3} .
+cp %{SOURCE4} .
+cp %{SOURCE5} .
+cp %{SOURCE6} .
+
+%build
+export CFLAGS="$(echo $CFLAGS | sed 's/-Wl,--as-needed//g')"
+export CXXFLAGS="$(echo $CXXFLAGS | sed 's/-Wl,--as-needed//g')"
+export FFLAGS="$(echo $FFLAGS | sed 's/-Wl,--as-needed//g')"
%cmake . \
-DTZ_SYS_ETC=%TZ_SYS_ETC \
@@ -272,13 +283,6 @@ Haptic Device manager library for device control (devel)
-DUSBHOST_MODULE=%{usbhost_module} \
#eol
-%build
-cp %{SOURCE1} .
-cp %{SOURCE2} .
-cp %{SOURCE3} .
-cp %{SOURCE4} .
-cp %{SOURCE5} .
-cp %{SOURCE6} .
make %{?jobs:-j%jobs}
%install