From: Andrew Waterman Date: Sat, 6 Feb 2016 02:17:56 +0000 (-0800) Subject: Compile debug symbols X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3bfc00ef2a1b1f0b0472a39a866261b00f67027e;p=riscv-isa-sim.git Compile debug symbols --- 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