add cflags and ldflags to spec 31/65231/1 accepted/tizen/common/20160408.190244 accepted/tizen/ivi/20160411.005245 accepted/tizen/mobile/20160411.005242 accepted/tizen/tv/20160411.005159 accepted/tizen/wearable/20160411.005217 submit/tizen/20160408.085120
authorSooChan Lim <sc1.lim@samsung.com>
Fri, 8 Apr 2016 04:20:54 +0000 (13:20 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Fri, 8 Apr 2016 04:20:54 +0000 (13:20 +0900)
Change-Id: I41e277dc7f6aa13f72306b2671e67c1f28e19713

packaging/libwayland-tbm.spec

index 1697067..1e10e5d 100644 (file)
@@ -52,7 +52,9 @@ Development header files for use with Wayland protocol
 cp %{SOURCE1001} .
 
 %build
-%reconfigure
+%reconfigure CFLAGS="${CFLAGS} -Wall -Werror" \
+             LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"
+
 make %{?_smp_mflags}
 
 %install