aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.mk3
1 files changed, 3 insertions, 0 deletions
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