aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2016-02-05 18:17:56 -0800
committerAndrew Waterman <waterman@cs.berkeley.edu>2016-03-02 12:15:25 -0800
commit3bfc00ef2a1b1f0b0472a39a866261b00f67027e (patch)
tree0e8858c15f69b371d9bf4e1686c9266ebcc9042f
parent89ba757daf6d6db1e2c0dce48e77bfb43dec5970 (diff)
downloadspike-3bfc00ef2a1b1f0b0472a39a866261b00f67027e.zip
spike-3bfc00ef2a1b1f0b0472a39a866261b00f67027e.tar.gz
spike-3bfc00ef2a1b1f0b0472a39a866261b00f67027e.tar.bz2
Compile debug symbols
-rwxr-xr-xconfigure4
-rw-r--r--configure.ac4
2 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index dcc3a55..976f4ae 100755
--- 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"
#-------------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index 5a8e65f..92289de 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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