packaging: removed '-Wl,as-needed' for build error. 10/59910/2 accepted/tizen/common/20160307.154537 accepted/tizen/ivi/20160307.111244 accepted/tizen/mobile/20160307.111147 accepted/tizen/tv/20160307.111211 accepted/tizen/wearable/20160307.111229 submit/tizen/20160307.091252
authorDongkyun, Son <dongkyun.s@samsung.com>
Fri, 19 Feb 2016 10:26:34 +0000 (19:26 +0900)
committerTomasz Iwanek <t.iwanek@samsung.com>
Mon, 7 Mar 2016 09:07:02 +0000 (01:07 -0800)
Change-Id: I2cc8f6847fda6c068295120ba9bacb1e2e3406a8
Signed-off-by: Dongkyun, Son <dongkyun.s@samsung.com>
packaging/manifest-parser.spec

index 5048c66d757dd10aaac463a3cba7edde11937442..04d66604776e28c5be975ad5c1544ac8b9ee47ae 100644 (file)
@@ -52,6 +52,9 @@ Examples of manifest-parser usage
 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