Explorar o código

Only enable debugging when SUPPORT_LD_DEBUG is enabled, not DEBUGGING

Eric Andersen %!s(int64=21) %!d(string=hai) anos
pai
achega
c2fa5c137d
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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