From d7c065e17ee5a10ee3af7f9b93c6c3da3c57ae76 Mon Sep 17 00:00:00 2001 From: Paul Jones Date: Tue, 13 Dec 2016 12:53:29 +1100 Subject: [PATCH] Add native compiler optimization's to compiler flags Signed-off-by: Paul Jones --- makeflags | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makeflags b/makeflags index f3b0b6f..bae1765 100644 --- a/makeflags +++ b/makeflags @@ -1,4 +1,4 @@ -CCFLAGS = -Wall -Wextra -Werror -O3 -I../include -ggdb -fpic +CCFLAGS = -Wall -Wextra -Werror -O3 -march=native -I../include -ggdb -fpic # CCFLAGS = -Wall -Wextra -Werror -O0 -I../include -ggdb -fpic CFLAGS = $(CCFLAGS) -std=c99 CXXFLAGS = $(CCFLAGS) -std=c++11 -Wold-style-cast