X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=Makefile;h=c136915a734565b736d66bacbd41245e3feff79c;hp=ecfa8bc9723c43708f7e09c2195ed1b342cd6301;hb=a8c552f656dcc429f03de36f3067522d51bb0b68;hpb=171170de64e0faff8d0e93581d9971439f474cbd 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