summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-08-30 20:51:36 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-08-30 20:51:36 +0000
commit517b4b7c1ec83f46e204c2c381fe3ae632a4c1d2 (patch)
tree1a6f75aebf44ae4f3e950d3f2dbb4aead46ae510
parentf02f29e59e6090b0bd5df09432ea1a788b85a8e8 (diff)
Archos: Fixed broken debug builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7430 a1c6a512-1295-4272-9138-f99709370657
-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
# This sets up 'SRC' based on the files mentioned in SOURCES
include $(TOOLSDIR)/makesrc.inc
+DEFINES = $(DEBUG)
+
DIRS = .
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 () {
case $option in
[Dd])
echo "define DEBUG"
- debug="1"
+ debug="-DDEBUG"
GCCOPTS="$GCCOPTS -g -DDEBUG"
;;
[Ll])