From ba887c5b9cbc2014cc1be9053169e694d2176657 Mon Sep 17 00:00:00 2001 From: Jann Horn Date: Tue, 18 Jun 2013 19:39:51 +0200 Subject: [PATCH] optimize code with -O3 --- compile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compile.sh b/compile.sh index 0768daf..756af2b 100755 --- a/compile.sh +++ b/compile.sh @@ -12,7 +12,7 @@ set -f -u -e -o pipefail # flags for the build - adjust for your needs # delete all the generated stuff afterwards (with `rm -r gen`) CC='gcc' -CFLAGS='-g -O0 -Wall -Werror -fPIC -std=c99' +CFLAGS='-O3 -Wall -Werror -fPIC -std=c99 -march=native' # create build environment if it doesn't exist yet mkdir -p gen # contains all generated files -- 2.20.1