From 679b598a768890faf439799e0cf63e1302cf1429 Mon Sep 17 00:00:00 2001 From: Wonki Kim Date: Wed, 19 Feb 2020 16:11:10 +0900 Subject: [PATCH] spec: enables DEP for security reason platform ldflags could contain a option to enable DEP. however there is a chance that the flag doesn't contain it. this patch appends a option to enable DEP explicitly. Change-Id: Id9de352e63522c236af3169a6b0cc947bc24910c --- packaging/aurum.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packaging/aurum.spec b/packaging/aurum.spec index 708bb1d..9f48865 100644 --- a/packaging/aurum.spec +++ b/packaging/aurum.spec @@ -47,6 +47,8 @@ gRPC Server %setup -q cp %{SOURCE1001} . +export LDFLAGS+="-Wl,-z,noexecstack" + meson \ --prefix /usr \ --libdir %{_libdir} \ -- 2.7.4