[X2Go-Commits] [nx-libs] 01/01: nx-libs.spec: re-add %{optflags} to CDEBUGFLAGS.
git-admin at x2go.org
git-admin at x2go.org
Tue Dec 19 08:14:45 CET 2017
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository nx-libs.
commit 6616983f2da60c88278713ff6f18c4313492388e
Author: Mihai Moldovan <ionic at ionic.de>
Date: Tue Dec 19 08:12:24 2017 +0100
nx-libs.spec: re-add %{optflags} to CDEBUGFLAGS.
I didn't mean to drop it in the first place in
07d308359995e07285b5c15d897c2617b52f0093 and
71bda0ed5c05e6bd75278ae7f88991f8ff35709e.
Dropping the sed hack was fine - but we actually have to add these
flags to CDEBUGFLAGS as well.
---
nx-libs.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nx-libs.spec b/nx-libs.spec
index f3f49ee..498fa90 100644
--- a/nx-libs.spec
+++ b/nx-libs.spec
@@ -408,7 +408,7 @@ chmod a+x my_configure;
%{!?__global_ldflags: %global __global_ldflags -Wl,-z,relro}
export SHLIBGLOBALSFLAGS="%{__global_ldflags}"
export LOCAL_LDFLAGS="%{__global_ldflags}"
-export CDEBUGFLAGS="%{?__global_cppflags} %{?__global_cflags}"
+export CDEBUGFLAGS="%{?__global_cppflags} %{?__global_cflags} %{?optflags}"
make %{?_smp_mflags} CONFIGURE="$PWD/my_configure" PREFIX=%{_prefix} LIBDIR=%{_libdir} CDEBUGFLAGS="${CDEBUGFLAGS}" LOCAL_LDFLAGS="${LOCAL_LDFLAGS}" SHLIBGLOBALSFLAGS="${SHLIBGLOBALSFLAGS}"
%install
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
More information about the x2go-commits
mailing list