From df7915207ce3b6563f7fd3dea5ed92c28f33dfd6 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Tue, 23 Jul 2024 00:53:43 -0400 Subject: Compilation optimisation (Ofast + march=native) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3