X2Go Bug report logs - #84
DESTDIR and OPTFLAGS patches for nx-libs

Package: nx-libs; Maintainer for nx-libs is X2Go Developers <x2go-dev@lists.x2go.org>;

Reported by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Date: Wed, 12 Dec 2012 12:03:38 UTC

Severity: normal

Done: Juri Grabowski <x2go@jugra.de>

Bug is archived. No further changes may be made.

Forwarded to https://github.com/ArcticaProject/nx-libs/issues/141

Full log


Message #32 received at 84@bugs.x2go.org (full text, mbox, reply):

Received: (at 84) by bugs.x2go.org; 9 Jan 2013 00:00:18 +0000
From voyageur@gentoo.org  Wed Jan  9 01:00:18 2013
Received: from intrepid.cafarelli.fr (intrepid.cafarelli.fr [88.191.154.185])
	by ymir (Postfix) with ESMTP id 63DDC5DB0A
	for <84@bugs.x2go.org>; Wed,  9 Jan 2013 01:00:18 +0100 (CET)
Received: from enterprise.cafarelli.fr (unknown [IPv6:2a01:e35:2439:f290:922b:34ff:fe33:3399])
	by intrepid.cafarelli.fr (Postfix) with ESMTPSA id 582FDE00B4
	for <84@bugs.x2go.org>; Wed,  9 Jan 2013 01:00:14 +0100 (CET)
Date: Wed, 9 Jan 2013 01:00:11 +0100
From: Bernard Cafarelli <voyageur@gentoo.org>
To: 84@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#84: Hardcoded -O3 in CFLAGS
Message-ID: <20130109010011.4f92023b@enterprise.cafarelli.fr>
In-Reply-To: <alpine.LNX.2.01.1301081706500.14229@nerf07.vanv.qr>
References: <ef1f449976cebc4b8ddb052befd9c231@cafarelli.fr>
	<alpine.LNX.2.01.1301081706500.14229@nerf07.vanv.qr>
Organization: Gentoo Foundation, Inc.
X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.14; x86_64-pc-linux-gnu)
X-Face: 7~4(Qk<`!us|JEfF`9/56!o9Lag,791'IUv</}aWl2ZPY?fFxeUzqxXWz]]gw.+0R0Q_d[r
 }+t0sse3,4kQO,*R<g"TAS)}NITD@d9=<@Vf+OC/&^6q"SIJ$U]<xN3_FO!9X2*yn4YBK4<p2NS|Xa
 yp):>mH;`8s>5orOs['3K9z-]Z+q\P>g'
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Le Tue, 8 Jan 2013 17:07:12 +0100 (CET)
Jan Engelhardt <jengelh@inai.de> a écrit:
> Why would autoreconf be rerun if you use ./configure CFLAGS=-O2 
> CXXFLAGS=-O2?

I meant, without first removing the "-O3" from configure.in (before
autoreconf)

With current configure.in, setting CXXFLAGS to "-O2" will give this:
nxcomp $ autoreconf && ./configure && make
[...]
g++ -c -O2 -O3 -fno-rtti -fno-exceptions -I../nx-X11/exports/include
-Wmissing-declarations -fPIC -DIN_ADDR_T=in_addr_t -DVERSION=\"3.5.0\"
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -Wall
-Wpointer-arith   EncodeBuffer.cpp

Editing CXXFLAGS to "$CXXFLAGS -fno-rtti -fno-exceptions" will use
user-defined optimization level 2

If hardcoded "-O3" is required, some test could be added to set "-O3"
if CXXFLAGS is unset, then appending the rtti/exceptions flags

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 15:05:41 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.