diff options
-rw-r--r-- | apps/Makefile | 2 | ||||
-rwxr-xr-x | tools/configure | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/apps/Makefile b/apps/Makefile index fc0753eb9a..5cf1ebd8a2 100644 --- a/apps/Makefile +++ b/apps/Makefile | |||
@@ -25,6 +25,8 @@ endif | |||
25 | # This sets up 'SRC' based on the files mentioned in SOURCES | 25 | # This sets up 'SRC' based on the files mentioned in SOURCES |
26 | include $(TOOLSDIR)/makesrc.inc | 26 | include $(TOOLSDIR)/makesrc.inc |
27 | 27 | ||
28 | DEFINES = $(DEBUG) | ||
29 | |||
28 | DIRS = . | 30 | DIRS = . |
29 | 31 | ||
30 | ifdef APPEXTRA | 32 | ifdef APPEXTRA |
diff --git a/tools/configure b/tools/configure index 06e8bebe8f..9192601e9f 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -206,7 +206,7 @@ whichdevel () { | |||
206 | case $option in | 206 | case $option in |
207 | [Dd]) | 207 | [Dd]) |
208 | echo "define DEBUG" | 208 | echo "define DEBUG" |
209 | debug="1" | 209 | debug="-DDEBUG" |
210 | GCCOPTS="$GCCOPTS -g -DDEBUG" | 210 | GCCOPTS="$GCCOPTS -g -DDEBUG" |
211 | ;; | 211 | ;; |
212 | [Ll]) | 212 | [Ll]) |