aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Marec <frederic.marec@iot.bzh>2019-03-24 11:57:51 +0100
committerFrédéric Marec <frederic.marec@iot.bzh>2019-03-27 09:38:30 +0000
commit75a6b9e42432e3503a69013624c786af35aed7af (patch)
treeb0d5299d9dcd5508843e36ca4b77c88537767e12
parent4789efd07382227aed86d8be8f91dd33bcb394d2 (diff)
Prevent false positive during check source
At runtime CFLAG _FORTIFY_SOURCE can provide false positive during its checking. Change _FORTIFY_SOURCE level to 1 to avoid wrong comportement of the package. Change-Id: Ice4b386c253c87903e58f82a446416831cb4c6bf Signed-off-by: Frederic Marec <frederic.marec@iot.bzh> (cherry picked from commit 51b8ff088991a18d744b6b86430afc8d83c4fcd8)
-rw-r--r--conf.d/packaging/rpm/agl-app-framework-binder.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf.d/packaging/rpm/agl-app-framework-binder.spec b/conf.d/packaging/rpm/agl-app-framework-binder.spec
index 8ea6c101..b44d5b10 100644
--- a/conf.d/packaging/rpm/agl-app-framework-binder.spec
+++ b/conf.d/packaging/rpm/agl-app-framework-binder.spec
@@ -57,7 +57,7 @@ This service is evolving permanently and is only designed as a helper for develo
%build
export PKG_CONFIG_PATH=%{_libdir}/pkgconfig
-%cmake -DAGL_DEVEL=1 -DINCLUDE_MONITORING=ON
+%cmake -DAGL_DEVEL=1 -DINCLUDE_MONITORING=ON -DCMAKE_C_FLAGS="-D_FORTIFY_SOURCE=1"
%__make %{?_smp_mflags}