Makefile : Added march flag
This commit is contained in:
4
Makefile
4
Makefile
@@ -2,8 +2,8 @@ CC := g++ -m64 -std=c++17
|
|||||||
OBJ_DIR := bin
|
OBJ_DIR := bin
|
||||||
SRC_DIR := .
|
SRC_DIR := .
|
||||||
# Optimizer flags
|
# Optimizer flags
|
||||||
#CFLAGS := -Og -g -rdynamic -pg -ggdb3 -D__DEBUG
|
#CFLAGS := -Og -march=native -g -rdynamic -pg -ggdb3 -D__DEBUG
|
||||||
CFLAGS := -O3
|
CFLAGS := -O3 -march=native
|
||||||
# Warning flags
|
# Warning flags
|
||||||
CFLAGS := $(CFLAGS) -Wall -Werror -Wextra -Wpedantic -Wshadow -Wnon-virtual-dtor -Wold-style-cast -Wcast-align -Wunused -Woverloaded-virtual -Wconversion
|
CFLAGS := $(CFLAGS) -Wall -Werror -Wextra -Wpedantic -Wshadow -Wnon-virtual-dtor -Wold-style-cast -Wcast-align -Wunused -Woverloaded-virtual -Wconversion
|
||||||
CFLAGS := $(CFLAGS) -Wsign-conversion -Wnull-dereference -Wdouble-promotion -Wformat=2 -Wimplicit-fallthrough -Wmisleading-indentation -Wduplicated-cond
|
CFLAGS := $(CFLAGS) -Wsign-conversion -Wnull-dereference -Wdouble-promotion -Wformat=2 -Wimplicit-fallthrough -Wmisleading-indentation -Wduplicated-cond
|
||||||
|
|||||||
Reference in New Issue
Block a user