Browse Source

Fix debug information.

Andrew Savchenko 9 years ago
parent
commit
939276d861
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tof_resolution/Makefile

+ 2 - 2
tof_resolution/Makefile

@@ -1,8 +1,8 @@
 # defaults
 ifndef DEBUG
-CXXFLAGS ?= -O3 -march=native -fomit-frame-pointer -pipe -DDEBUG
+CXXFLAGS ?= -O3 -march=native -fomit-frame-pointer -pipe
 else
-CXXFLAGS += -ggdb3
+CXXFLAGS += -ggdb3 -DDEBUG
 endif
 #LDFLAGS ?= -Wl,-O1
 LDFLAGS ?= -Wl,-O1 -Wl,--as-needed