added debug option
authorJohn Voltz <john.voltz@gmail.com>
Tue, 11 Mar 2008 18:15:30 +0000 (18:15 -0000)
committerJohn Voltz <john.voltz@gmail.com>
Tue, 11 Mar 2008 18:15:30 +0000 (18:15 -0000)
package/Makefile.in

index 76751cc98d1ba92e2e9c6820274d400acb048a9d..806a010dd24a1121ca461751a101c839edf1406b 100644 (file)
@@ -305,6 +305,11 @@ ifneq ($(BR2_GCC_CROSS_CXX),y)
 TARGET_CONFIGURE_OPTS+=CXX=""
 endif
 
+ifeq ($(BR2_ENABLE_DEBUG),y)
+ENABLE_DEBUG:=--enable-debug
+else
+ENABLE_DEBUG:=
+endif
 
 
 # X Windowing system