From: Felix Fietkau Date: Tue, 29 Jan 2008 18:20:10 +0000 (+0100) Subject: set -O0 for debug builds X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a8c552f656dcc429f03de36f3067522d51bb0b68;p=uci.git set -O0 for debug builds --- 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