From a8c552f656dcc429f03de36f3067522d51bb0b68 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 29 Jan 2008 19:20:10 +0100 Subject: [PATCH] set -O0 for debug builds --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index ecfa8bc..c136915 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ COPTS=-O2 CFLAGS=$(COPTS) -fPIC -Wall -pedantic -std=gnu99 -Wno-unused -Werror ifneq ($(DEBUG),) + COPTS = -O0 CFLAGS += -g3 -DDEBUG_ALL endif -- 2.25.1