Commit 840ecbb7 authored by dickelbeck's avatar dickelbeck

better debugging options

parent f3cd8f57
......@@ -53,8 +53,8 @@ DEBUG = 0
# directory specific makefile.gtk files.
ifeq ($(DEBUG), 1)
WXXFLAGS := $(shell wx-config --debug --cxxflags)
CPPFLAGS = -Wall -g ${WXXFLAGS} -fno-strict-aliasing
LDFLAGS = -g #-v
CPPFLAGS = -Wall -g3 -ggdb3 ${WXXFLAGS} -fno-strict-aliasing
LDFLAGS = -g3 -ggdb3 #-v
else
WXXFLAGS := $(shell wx-config --cxxflags)
CPPFLAGS = -Wall -O2 ${WXXFLAGS} -fno-strict-aliasing
......@@ -109,7 +109,7 @@ ifeq ($(KICAD_STATIC_LINK), 1)
LIBSTDC = ../syslibs/libstdc++.a
else
# Or Use static link for libsupc++ or libstdc++ (more easy!!)
LIBSTDC = -lstdc++
LIBSTDC = #-lstdc++ is implied when using g++ to link
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