summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extra/rma_reset/Makefile2
-rw-r--r--extra/usb_updater/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/extra/rma_reset/Makefile b/extra/rma_reset/Makefile
index 4e401b8d5d..4a640c5b4c 100644
--- a/extra/rma_reset/Makefile
+++ b/extra/rma_reset/Makefile
@@ -19,7 +19,7 @@ CFLAGS := -std=gnu99 \
-Wredundant-decls \
-Wmissing-declarations
-ifneq ($(DEBUG),)
+ifeq ($(DEBUG),1)
CFLAGS += -g -O0
else
CFLAGS += -O3
diff --git a/extra/usb_updater/Makefile b/extra/usb_updater/Makefile
index ac21ba8e93..f1ec4f8b0e 100644
--- a/extra/usb_updater/Makefile
+++ b/extra/usb_updater/Makefile
@@ -19,7 +19,7 @@ CFLAGS := -std=gnu99 \
-Wredundant-decls \
-Wmissing-declarations
-ifneq ($(DEBUG),)
+ifeq ($(DEBUG),1)
CFLAGS += -O0
else
CFLAGS += -O3