Change-Id: Ie096c35dc2698d46e27c58649eb1302a00127124
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
%build
export PKG_CONFIG_PATH=%{_libdir}/pkgconfig
-%cmake -DAGL_DEVEL=1 -DINCLUDE_MONITORING=ON"
+%cmake -DAGL_DEVEL=1 -DINCLUDE_MONITORING=ON" CFLAGS='-O2 -g -pipe -Wall-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
%__make %{?_smp_mflags}