From: Dongkyun, Son Date: Fri, 19 Feb 2016 10:34:35 +0000 (+0900) Subject: packaging: removed '-Wl,as-needed' for build error. X-Git-Tag: accepted/tizen/wearable/20160307.020610 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3dd95472ad883a7cb9f1d578b653b1292768e992;p=apps%2Fcore%2Fpreloaded%2Fprint-service.git packaging: removed '-Wl,as-needed' for build error. Change-Id: I5b16140b1ed20df372cb9d355705fbde4f7409a9 Signed-off-by: Dongkyun, Son --- diff --git a/packaging/print-service.spec b/packaging/print-service.spec index 7d27e35..6cf2e4f 100755 --- a/packaging/print-service.spec +++ b/packaging/print-service.spec @@ -60,6 +60,9 @@ Set of utilities for testing different parts of library cp %{SOURCE1001} . cp %{SOURCE1002} . cp %{SOURCE1003} . +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 . -DENABLE_OM_TESTS=On -DCMAKE_ETC=%{TZ_SYS_ETC} %install