summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/Makefile2
-rwxr-xr-xtools/configure2
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
26include $(TOOLSDIR)/makesrc.inc 26include $(TOOLSDIR)/makesrc.inc
27 27
28DEFINES = $(DEBUG)
29
28DIRS = . 30DIRS = .
29 31
30ifdef APPEXTRA 32ifdef 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])