user/dmenu-user: enable armv7

This commit is contained in:
Antoine Martin 2023-05-07 20:29:55 -04:00 committed by Antoine Martin
parent 6fe688a6ee
commit 61702569f0
2 changed files with 27 additions and 2 deletions

View file

@ -0,0 +1,22 @@
diff --git a/config.mk.orig b/config.mk
index d8d0129..1e99c67 100644
--- a/config.mk.orig
+++ b/config.mk
@@ -31,13 +31,13 @@ LIBS = -L$(X11LIB) -lX11 $(XINERAMALIBS) $(FREETYPELIBS)
# flags
# >>>>>>>>>>>>>>>>>>>> json
# ==================== json
-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 $(INCS) $(CPPFLAGS)
+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 $(INCS) $(CPPFLAGS)
# <<<<<<<<<<<<<<<<<<<< json
-LDFLAGS = $(LIBS)
+LDFLAGS += $(LIBS)
# compiler and linker
-CC = cc
+CC ?= cc
# >>>>>>>>>>>>>>>>>>>> json
# ==================== json