[X2Go-Commits] [nx-libs] 01/01: nx-libs.spec: add no-inline flags directly to optflags.

git-admin at x2go.org git-admin at x2go.org
Tue Dec 19 14:51:20 CET 2017


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

x2go pushed a commit to branch 3.6.x-rpm-debug
in repository nx-libs.

commit feddb1932946d26ce2ce2b8ef100d865853c7bc0
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Tue Dec 19 14:51:16 2017 +0100

    nx-libs.spec: add no-inline flags directly to optflags.
    
    Essentially for %configure to pick it up hopefully.
---
 nx-libs.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/nx-libs.spec b/nx-libs.spec
index 9a38c06..952a363 100644
--- a/nx-libs.spec
+++ b/nx-libs.spec
@@ -9,6 +9,8 @@
 %global __global_cxxflags %{?__global_cxxflags} -mno-vsx
 %endif
 
+%global optflags %{?optflags} -fno-inline-functions-called-once -fno-inline -fno-inline-small-functions -fno-inline-functions
+
 Name:           nx-libs
 Version:        3.5.99.12
 Release:        0.0build1%{?dist}
@@ -409,7 +411,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} %{?optflags} -fno-inline-functions-called-once -fno-inline -fno-inline-small-functions -fno-inline-functions"
+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