Change-Id: I2cc8f6847fda6c068295120ba9bacb1e2e3406a8
Signed-off-by: Dongkyun, Son <dongkyun.s@samsung.com>
cp %{SOURCE100} .
%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')"
# BUILD_PARSER macro is defined so we can build two separate projects
# with cmake, which are on one repository. Later this macro
# is used in CMakeLists.txt files to distinguish, which project