Commit 840ecbb7 authored by dickelbeck's avatar dickelbeck

better debugging options

parent f3cd8f57
...@@ -53,8 +53,8 @@ DEBUG = 0 ...@@ -53,8 +53,8 @@ DEBUG = 0
# directory specific makefile.gtk files. # directory specific makefile.gtk files.
ifeq ($(DEBUG), 1) ifeq ($(DEBUG), 1)
WXXFLAGS := $(shell wx-config --debug --cxxflags) WXXFLAGS := $(shell wx-config --debug --cxxflags)
CPPFLAGS = -Wall -g ${WXXFLAGS} -fno-strict-aliasing CPPFLAGS = -Wall -g3 -ggdb3 ${WXXFLAGS} -fno-strict-aliasing
LDFLAGS = -g #-v LDFLAGS = -g3 -ggdb3 #-v
else else
WXXFLAGS := $(shell wx-config --cxxflags) WXXFLAGS := $(shell wx-config --cxxflags)
CPPFLAGS = -Wall -O2 ${WXXFLAGS} -fno-strict-aliasing CPPFLAGS = -Wall -O2 ${WXXFLAGS} -fno-strict-aliasing
...@@ -109,7 +109,7 @@ ifeq ($(KICAD_STATIC_LINK), 1) ...@@ -109,7 +109,7 @@ ifeq ($(KICAD_STATIC_LINK), 1)
LIBSTDC = ../syslibs/libstdc++.a LIBSTDC = ../syslibs/libstdc++.a
else else
# Or Use static link for libsupc++ or libstdc++ (more easy!!) # Or Use static link for libsupc++ or libstdc++ (more easy!!)
LIBSTDC = -lstdc++ LIBSTDC = #-lstdc++ is implied when using g++ to link
endif endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment