]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Default to -O2.
authorRoy Marples <roy@marples.name>
Wed, 5 Nov 2008 15:59:36 +0000 (15:59 +0000)
committerRoy Marples <roy@marples.name>
Wed, 5 Nov 2008 15:59:36 +0000 (15:59 +0000)
mk/cc.mk

index 63f396cb70cab47e6cd2fc915759f199a00f3f57..71cb4094859c5ca29626ddf6426cfd92139b1c5b 100644 (file)
--- a/mk/cc.mk
+++ b/mk/cc.mk
@@ -1,7 +1,7 @@
 # Copyright 2008 Roy Marples <roy@marples.name>
 
 # Setup some good default CFLAGS
-CFLAGS?=       -Os
+CFLAGS?=       -O2
 
 # Default to using the C99 standard
 CSTD?=         c99
@@ -9,7 +9,7 @@ _CSTD_SH=       if test -n "${CSTD}"; then echo "-std=${CSTD}"; else echo ""; fi
 _CSTD!=                ${_CSTD_SH}
 CFLAGS+=       ${_CSTD}$(shell ${_CSTD_SH})
 
-# Try and use some good cc flags if we're building from git
+# Try and use some good cc flags if we're building from svn
 # We don't use -pedantic as it will warn about our perfectly valid
 # use of %m in our logger.
 _CCFLAGS=      -Wall -Wextra -Wimplicit -Wshadow -Wformat=2 \