From 75a6b9e42432e3503a69013624c786af35aed7af Mon Sep 17 00:00:00 2001 From: Frederic Marec Date: Sun, 24 Mar 2019 11:57:51 +0100 Subject: [PATCH] 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 (cherry picked from commit 51b8ff088991a18d744b6b86430afc8d83c4fcd8) --- conf.d/packaging/rpm/agl-app-framework-binder.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} -- 2.16.6