summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Kotrasinski <i.kotrasinsk@partner.samsung.com>2017-08-16 08:58:44 +0200
committerIgor Kotrasinski <i.kotrasinsk@partner.samsung.com>2017-08-16 08:58:44 +0200
commit1f687be4b378ad7a070e9f703cdc84b2781e0d50 (patch)
treef90f3c86cff045dd8069beced2e2627f7282c43d
parent00243891cad11cd843a0672a2568a592bc60afed (diff)
downloadxmlsec1-1f687be4b378ad7a070e9f703cdc84b2781e0d50.tar.gz
xmlsec1-1f687be4b378ad7a070e9f703cdc84b2781e0d50.tar.bz2
xmlsec1-1f687be4b378ad7a070e9f703cdc84b2781e0d50.zip
Fixup PIE overwriting compilation flags
00243891cad caused compilation flags to be overriden with PIE flags. Use '+=' rather than '=' to fix it up. Change-Id: I8ea419566bfd1f0f6e3d3802546cf64f1faf907f Signed-off-by: Igor Kotrasinski <i.kotrasinsk@partner.samsung.com>
-rw-r--r--packaging/xmlsec1.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/xmlsec1.spec b/packaging/xmlsec1.spec
index 9289859e..6437c875 100644
--- a/packaging/xmlsec1.spec
+++ b/packaging/xmlsec1.spec
@@ -82,7 +82,7 @@ cp %{SOURCE1001} .
%define cflags -fPIE
%define ldflags -pie
-%__make %{?_smp_mflags} CFLAGS="%{cflags}" LDFLAGS="%{ldflags}"
+%__make %{?_smp_mflags} CFLAGS+="%{cflags}" LDFLAGS+="%{ldflags}"
%install
%make_install