summaryrefslogtreecommitdiffstats
path: root/conf.d
diff options
context:
space:
mode:
authorFrederic Marec <frederic.marec@iot.bzh>2019-03-24 11:57:51 +0100
committerFrederic Marec <frederic.marec@iot.bzh>2019-03-25 16:09:11 +0100
commit51b8ff088991a18d744b6b86430afc8d83c4fcd8 (patch)
tree925597084a0580829a3e0f878bb36b0b65c8ae9a /conf.d
parent6f192ac5b7aeca2070a02e74397a2c97977147ca (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>
Diffstat (limited to 'conf.d')
-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 9883b7c6..150fd9f6 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}