diff options
| author | joe <rbo@gmx.us> | 2025-10-02 11:11:33 +0200 |
|---|---|---|
| committer | joe <rbo@gmx.us> | 2025-10-02 11:11:33 +0200 |
| commit | 440058e70b52251c6d7d6ce6710b83a02f7bc484 (patch) | |
| tree | 94596869ee22ee857d6ddc582a54abb9b99cd84f | |
| parent | up (diff) | |
| download | st-440058e70b52251c6d7d6ce6710b83a02f7bc484.tar.gz st-440058e70b52251c6d7d6ce6710b83a02f7bc484.tar.bz2 st-440058e70b52251c6d7d6ce6710b83a02f7bc484.tar.xz st-440058e70b52251c6d7d6ce6710b83a02f7bc484.tar.zst st-440058e70b52251c6d7d6ce6710b83a02f7bc484.zip | |
up
| -rw-r--r-- | config.mk | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -20,8 +20,13 @@ LIBS = -L$(X11LIB) -lm -lrt -lX11 -lutil -lXft \ `$(PKG_CONFIG) --libs fontconfig` \ `$(PKG_CONFIG) --libs freetype2` +HOSTNAME = $(shell /usr/bin/hostname -s) + # flags +CFLAGS = -march=alderlake -Os -pipe +ifeq (${HOSTNAME}, mother) CFLAGS = -march=haswell -Os -pipe +endif STCPPFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=600 STCFLAGS = $(INCS) $(STCPPFLAGS) $(CPPFLAGS) $(CFLAGS) STLDFLAGS = $(LIBS) $(LDFLAGS) |
