Skip to content

Commit

Permalink
perf: add more compiler flags
Browse files Browse the repository at this point in the history
I don't think these have any positive effect, but they tell the compiler
to make code for the current architecture and make use of optimizations
that are specific to that architecture.
  • Loading branch information
wincent committed Aug 18, 2024
1 parent 4304118 commit 14cfe52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/wincent/commandt/lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

SHELL := /bin/bash

CCFLAGS ?= -std=gnu17 -Wall -Wextra -Wno-unused-parameter
CCFLAGS ?= -std=gnu17 -march=native -mtune=native -Wall -Wextra -Wno-unused-parameter

# Allow augmentation from the command-line with CFLAGS:
CCFLAGS += $(CFLAGS)
Expand Down

0 comments on commit 14cfe52

Please sign in to comment.