Compile debug symbols
authorAndrew Waterman <waterman@cs.berkeley.edu>
Sat, 6 Feb 2016 02:17:56 +0000 (18:17 -0800)
committerAndrew Waterman <waterman@cs.berkeley.edu>
Wed, 2 Mar 2016 20:15:25 +0000 (12:15 -0800)
configure
configure.ac

index dcc3a55b7695f6cd7d1d57bb8b2b8825314c0eef..976f4ae063107763d52e515d47897d48d9f67c68 100755 (executable)
--- a/configure
+++ b/configure
@@ -3901,9 +3901,9 @@ fi
 # Default compiler flags
 #-------------------------------------------------------------------------
 
-CFLAGS="-Wall -Wno-unused -O2"
+CFLAGS="-Wall -Wno-unused -g -O2"
 
-CXXFLAGS="-Wall -Wno-unused -O2 -std=c++11"
+CXXFLAGS="-Wall -Wno-unused -g -O2 -std=c++11"
 
 
 #-------------------------------------------------------------------------
index 5a8e65f77d6dff0717a797a3b12d8d3af343c243..92289dedd2ad2728e6869a79a57f194d4fbc428c 100644 (file)
@@ -71,8 +71,8 @@ AC_HEADER_STDC
 # Default compiler flags
 #-------------------------------------------------------------------------
 
-AC_SUBST([CFLAGS],  ["-Wall -Wno-unused -O2"])
-AC_SUBST([CXXFLAGS],["-Wall -Wno-unused -O2 -std=c++11"])
+AC_SUBST([CFLAGS],  ["-Wall -Wno-unused -g -O2"])
+AC_SUBST([CXXFLAGS],["-Wall -Wno-unused -g -O2 -std=c++11"])
 
 #-------------------------------------------------------------------------
 # MCPPBS subproject list