summaryrefslogtreecommitdiffstats
path: root/tools/gpio/Makefile
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2016-03-25 13:36:29 +0100
committerLinus Walleij <linus.walleij@linaro.org>2016-03-31 11:50:21 +0200
commitf6a49e5a3f5562855f9e4b9b81916b06ef673771 (patch)
tree0aa792c070df58911ec1972cee9ae2433b319743 /tools/gpio/Makefile
parent75c004df525e3bda38dfac1f0e8eff7fe515a0ab (diff)
downloadlinux-f6a49e5a3f5562855f9e4b9b81916b06ef673771.tar.gz
linux-f6a49e5a3f5562855f9e4b9b81916b06ef673771.tar.bz2
linux-f6a49e5a3f5562855f9e4b9b81916b06ef673771.zip
tools/gpio: Enable compiler optimization to catch more bugs
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/gpio/Makefile')
-rw-r--r--tools/gpio/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpio/Makefile b/tools/gpio/Makefile
index 4d198d5c4203..c155d6bc47a7 100644
--- a/tools/gpio/Makefile
+++ b/tools/gpio/Makefile
@@ -1,5 +1,5 @@
CC = $(CROSS_COMPILE)gcc
-CFLAGS += -Wall -g -D_GNU_SOURCE
+CFLAGS += -O2 -Wall -g -D_GNU_SOURCE
all: lsgpio