diff options
author | Andrew Waterman <waterman@cs.berkeley.edu> | 2016-02-05 18:17:56 -0800 |
---|---|---|
committer | Andrew Waterman <waterman@cs.berkeley.edu> | 2016-03-02 12:15:25 -0800 |
commit | 3bfc00ef2a1b1f0b0472a39a866261b00f67027e (patch) | |
tree | 0e8858c15f69b371d9bf4e1686c9266ebcc9042f | |
parent | 89ba757daf6d6db1e2c0dce48e77bfb43dec5970 (diff) | |
download | spike-3bfc00ef2a1b1f0b0472a39a866261b00f67027e.zip spike-3bfc00ef2a1b1f0b0472a39a866261b00f67027e.tar.gz spike-3bfc00ef2a1b1f0b0472a39a866261b00f67027e.tar.bz2 |
Compile debug symbols
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | configure.ac | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -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 |