From: Jes Sorensen Date: Fri, 21 Apr 2017 16:06:35 +0000 (-0400) Subject: Makefile: Default to -O2 optimization X-Git-Tag: mdadm-4.1-rc1~174 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17d80e6eb64230593ee8d599b94005d303eb58ae;p=thirdparty%2Fmdadm.git Makefile: Default to -O2 optimization Signed-off-by: Jes Sorensen --- diff --git a/Makefile b/Makefile index 56558121..68506961 100644 --- a/Makefile +++ b/Makefile @@ -30,6 +30,7 @@ # define "CXFLAGS" to give extra flags to CC. # e.g. make CXFLAGS=-O to optimise +CXFLAGS ?=-O2 TCC = tcc UCLIBC_GCC = $(shell for nm in i386-uclibc-linux-gcc i386-uclibc-gcc; do which $$nm > /dev/null && { echo $$nm ; exit; } ; done; echo false No uclibc found ) #DIET_GCC = diet gcc