aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-12-26 16:05:29 +0100
committerJoe <rbo@gmx.us>2024-12-26 16:05:29 +0100
commit56745ff26992fcde1adbced182ad852b6871f607 (patch)
tree5284edd81b9a100e0a6de53cf50b1fc9a504cca3
parent5.3 (diff)
downloaddmenu-56745ff26992fcde1adbced182ad852b6871f607.tar.gz
dmenu-56745ff26992fcde1adbced182ad852b6871f607.tar.bz2
dmenu-56745ff26992fcde1adbced182ad852b6871f607.tar.xz
dmenu-56745ff26992fcde1adbced182ad852b6871f607.tar.zst
dmenu-56745ff26992fcde1adbced182ad852b6871f607.zip
compat
-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