summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Ball <cjb@laptop.org>2012-09-21 18:16:22 +0800
committerChris Ball <cjb@laptop.org>2012-09-21 18:16:22 +0800
commitd4faeabb78ef15f26188c8ba247398b2bac373e5 (patch)
treea0a89018009e47fdffbb8500bf78ad25a0bc5100
parent8649651b743a5d7c290ea0f8058794f8d127736e (diff)
downloadmmc-utils-d4faeabb78ef15f26188c8ba247398b2bac373e5.tar.gz
Turn on gcc optimization (-O2)
This is required by distros that use Fortify.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 34c5ec3..f03f131 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
CC = gcc
AM_CFLAGS = -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2
-CFLAGS = -g -O0
+CFLAGS = -g -O2
objects = mmc.o mmc_cmds.o
CHECKFLAGS= -Wall -Werror -Wuninitialized -Wundef