1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 <2014> 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 <2014> 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: RELEASE macro vanishes if USR_CXXFLAGS_Linux is set |
From: | Bob Soliday <[email protected]> |
To: | <[email protected]> |
Date: | Mon, 19 May 2014 13:02:02 -0500 |
From the Makefile that I see: http://bazaar.launchpad.net/~info-martin-konrad/epics-gateway/putlog/view/head:/Makefile You set: USR_CXXFLAGS_DEFAULT += -DWITH_CAPUTLOGNow if you are also setting USR_CXXFLAGS_Linux, it will use this flag on Linux and the DEFAULT on other operating systems. You might try changing:
USR_CXXFLAGS_DEFAULT += -DWITH_CAPUTLOG to USR_CXXFLAGS += -DWITH_CAPUTLOG --Bob Soliday On 05/19/2014 12:45 PM, Konrad, Martin wrote:
Hi, I'm experiencing the following issue with the EPICS build system: I'm compiling the gateway code with our PutLog extensions [1]. This requires setting CAPUTLOG=/usr/lib/epics on my Debian machine. Everything works fine if I just run make. g++ is called with "-DALLOW_CAPUTLOG" as it is supposed to be. However, if I run make "USR_CXXFLAGS_Linux=-Werror=format-security" (one of the parameters used when compiling Michael's Debian package), g++ is not called with "-DALLOW_CAPUTLOG" anymore. It seems to ignore the CAPUTLOG entry in the configure/RELEASE file. Am I missing something or is this a bug? Thanks, Martin P.S.: You can download a tarball [2] of my directory to reproduce the issue. [1] https://code.launchpad.net/~info-martin-konrad/epics-gateway/putlog [2] https://www.martin-konrad.net/gateway.tar.bz2