EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: makefile include order
From: Ben Franksen via Core-talk <core-talk at aps.anl.gov>
To: <core-talk at aps.anl.gov>
Date: Fri, 19 Jun 2020 10:05:13 +0200
Hi

I just noticed that settings made in

  configure/os/CONFIG_SITE.Common.linuxCommon

such as these

  OPT_CFLAGS_YES += -g
  OPT_CXXFLAGS_YES += -g

don't seem to have any effect. More precisely, while the file gets
included, the settings in there are overwritten by a later include of

  configure/CONFIG.gnuCommon

which has

  OPT_CFLAGS_YES = -O3
  OPT_CXXFLAGS_YES = -O3

This can be seen in base-7.0 with 'make show-makefiles' (assuming it
shows the included makefiles in the order in which they are included). I
also used 'make -p|grep -B1 OPT_CFLAGS_YES'.

I did not manage to find out what causes the unexpected include order here.

This happens in both base-3.15 and base-7.0.

Setting OPT_CFLAGS_YES += -g in

  configure/os/CONFIG_SITE.Common.linux-x86_64

works as expected, BTW.

Cheers
Ben

Attachment: signature.asc
Description: OpenPGP digital signature


Replies:
Re: makefile include order Johnson, Andrew N. via Core-talk

Navigate by Date:
Prev: Re: Possible problem with base 7.0.4 on Windows (regression) Michael Davidsaver via Core-talk
Next: BETA: ci-scripts support for GitHub Actions Ralph Lange via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Possible problem with base 7.0.4 on Windows (regression) Michael Davidsaver via Core-talk
Next: Re: makefile include order Johnson, Andrew N. via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 19 Jun 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·