tools/gpio: Enable compiler optimization to catch more bugs
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 25 Mar 2016 12:36:29 +0000 (13:36 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 31 Mar 2016 09:50:21 +0000 (11:50 +0200)
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
tools/gpio/Makefile

index 4d198d5c420326616d785a7c1214b2638dc38708..c155d6bc47a7580cc63d00d8abc2101241f74faf 100644 (file)
@@ -1,5 +1,5 @@
 CC = $(CROSS_COMPILE)gcc
-CFLAGS += -Wall -g -D_GNU_SOURCE
+CFLAGS += -O2 -Wall -g -D_GNU_SOURCE
 
 all: lsgpio