Browse Source

Only enable debugging when SUPPORT_LD_DEBUG is enabled, not DEBUGGING

Eric Andersen 21 years ago
parent
commit
c2fa5c137d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      ldso/ldso/Makefile

+ 2 - 2
ldso/ldso/Makefile

@@ -31,7 +31,7 @@ XXFLAGS=$(XWARNINGS) $(OPTIMIZATION) $(XARCH_CFLAGS) $(CPU_CFLAGS) $(PICFLAG) \
 	-DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" \
 	-fno-builtin -nostdinc -I$(TOPDIR)ldso/include -I. -I$(TOPDIR)include
 
-ifeq ($(DODEBUG),y)
+ifeq ($(SUPPORT_LD_DEBUG),y)
 XXFLAGS=$(XWARNINGS) $(XARCH_CFLAGS) $(CPU_CFLAGS) $(PICFLAG) \
 	-DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" \
 	-fno-builtin -nostdinc -I$(TOPDIR)ldso/include -I. -I$(TOPDIR)include
@@ -52,7 +52,7 @@ ASRC=$(shell ls $(TARGET_ARCH)/*.S)
 AOBJS=$(patsubst %.S,%.o, $(ASRC))
 OBJS=$(AOBJS) $(COBJS)
 
-ifneq ($(strip $(DODEBUG)),y)
+ifneq ($(strip $(SUPPORT_LD_DEBUG)),y)
 LDFLAGS+=-s
 endif