summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-07-23 00:53:43 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2024-07-23 00:53:43 -0400
commitdf7915207ce3b6563f7fd3dea5ed92c28f33dfd6 (patch)
tree3c130bef5b5277ab1897f7334d88adf65e8d8e87
parent56735fafbf4d47e6b0ad51e27af2aa97e3c7dcd9 (diff)
Compilation optimisation (Ofast + march=native)
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9bc67db..1ed9661 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ DWLDEVCFLAGS = -g -pedantic -Wall -Wextra -Wdeclaration-after-statement \
# CFLAGS / LDFLAGS
PKGS = wlroots-0.18 wayland-server xkbcommon libinput pixman-1 fcft $(XLIBS)
-DWLCFLAGS = `$(PKG_CONFIG) --cflags $(PKGS)` $(DWLCPPFLAGS) $(DWLDEVCFLAGS) $(CFLAGS)
+DWLCFLAGS = `$(PKG_CONFIG) --cflags $(PKGS)` -Ofast -march=native $(DWLCPPFLAGS) $(DWLDEVCFLAGS) $(CFLAGS)
LDLIBS = `$(PKG_CONFIG) --libs $(PKGS)` -lm $(LIBS)
all: dwl