[X2Go-Commits] [x2goadmincenter] 03/03: x2goadmincenter.spec: honor %{optflags} for CXXFLAGS and don't strip binaries.

git-admin at x2go.org git-admin at x2go.org
Sun Aug 20 14:03:29 CEST 2017


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2goadmincenter.

commit 1468fff00a5edee643c5e8a3c6069da56e508115
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sun Aug 20 14:01:57 2017 +0200

    x2goadmincenter.spec: honor %{optflags} for CXXFLAGS and don't strip binaries.
    
    Backported from X2Go Client.
---
 debian/changelog     | 3 +++
 x2goadmincenter.spec | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 3414e6e..763c85a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -83,5 +83,8 @@ x2goadmincenter (0.0.0.1-0x2go1) UNRELEASED; urgency=low
     - Maintainer change in package: X2Go Developers <x2go-dev at lists.x2go.org>.
     - Uploaders: add myself. Also, force a rebuild due to the changed
       versioning.
+  * x2goadmincenter.spec:
+    - Honor %{optflags} for CXXFLAGS and don't strip binaries. Backported from
+      X2Go Client.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Wed, 21 Sep 2011 21:12:56 +0200
diff --git a/x2goadmincenter.spec b/x2goadmincenter.spec
index a33b84d..77ff25f 100644
--- a/x2goadmincenter.spec
+++ b/x2goadmincenter.spec
@@ -101,7 +101,7 @@ sed -i -e '/^LRELEASE_BINARY=/s at lrelease-qt4@%{_libdir}/qt4/bin/lrelease@' x2goa
 sed -i -e '/^QMAKE_BINARY=/s at qmake-qt4@%{_bindir}/qmake@' x2goadmincenter/Makefile
 sed -i -e '/^LRELEASE_BINARY=/s at lrelease-qt4@%{_bindir}/lrelease@' x2goadmincenter/Makefile
 %endif
-make %{?_smp_mflags}
+make %{?_smp_mflags} CXXFLAGS="%{optflags}" QMAKE_OPTS="QMAKE_STRIP=:"
 
 
 %install

--
Alioth's /srv/git/code.x2go.org/x2goadmincenter.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goadmincenter.git


More information about the x2go-commits mailing list