[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.2b3-231-gf00eba5

Service Account noreply at mpich.org
Wed Jul 15 08:44:28 CDT 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MPICH primary repository".

The branch, master has been updated
       via  f00eba541d695fb0dffd7a27bc6b47edb7fe7b54 (commit)
      from  52a7ea6365db9e0f8d44ff0244f005edcff071fc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.mpich.org/mpich.git/commitdiff/f00eba541d695fb0dffd7a27bc6b47edb7fe7b54

commit f00eba541d695fb0dffd7a27bc6b47edb7fe7b54
Author: Pavan Balaji <balaji at anl.gov>
Date:   Sun Jul 12 11:01:17 2015 -0500

    Fix management of -g in CFLAGS.
    
    Signed-off-by: Ken Raffenetti <raffenet at mcs.anl.gov>

diff --git a/configure.ac b/configure.ac
index 47caa1b..c0370a2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1487,10 +1487,14 @@ done
 IFS="$save_IFS"
 
 if test "$enable_append_g" = "yes" ; then
-    CFLAGS="$CFLAGS -g"
-    CXXFLAGS="$CXXFLAGS -g"
-    FFLAGS="$FFLAGS -g"
-    FCFLAGS="$FCFLAGS -g"
+    PAC_APPEND_FLAG([-g],[CFLAGS])
+    PAC_APPEND_FLAG([-g],[CXXFLAGS])
+    PAC_APPEND_FLAG([-g],[FFLAGS])
+    PAC_APPEND_FLAG([-g],[FCFLAGS])
+    PAC_APPEND_FLAG([-g],[WRAPPER_CFLAGS])
+    PAC_APPEND_FLAG([-g],[WRAPPER_CXXFLAGS])
+    PAC_APPEND_FLAG([-g],[WRAPPER_FFLAGS])
+    PAC_APPEND_FLAG([-g],[WRAPPER_FCFLAGS])
 fi
 if test -n "$perform_meminit" ; then
     AC_DEFINE(MPICH_DEBUG_MEMINIT,1,[Define to enable preinitialization of memory used by structures and unions])

-----------------------------------------------------------------------

Summary of changes:
 configure.ac |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list