From 56745ff26992fcde1adbced182ad852b6871f607 Mon Sep 17 00:00:00 2001 From: Joe Date: Thu, 26 Dec 2024 16:05:29 +0100 Subject: compat --- config.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.mk b/config.mk index b6ff7f8..35e52a0 100644 --- a/config.mk +++ b/config.mk @@ -26,6 +26,9 @@ LIBS = -L$(X11LIB) -lX11 $(XINERAMALIBS) $(FREETYPELIBS) -lm # flags CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" $(XINERAMAFLAGS) CFLAGS = -std=c99 -pedantic -Wall -Os -march=alderlake -pipe $(INCS) $(CPPFLAGS) +ifeq (${HOSTNAME}, mother) +CFLAGS = -std=c99 -pedantic -Wall -Os -march=haswell -pipe $(INCS) $(CPPFLAGS) +endif LDFLAGS = $(LIBS) # compiler and linker -- cgit v1.2.3