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 4d198d5..c155d6b 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