user/dmenu-user: enable armv7
This commit is contained in:
parent
6fe688a6ee
commit
61702569f0
2 changed files with 27 additions and 2 deletions
22
user/dmenu-user/make-use-env-variables.patch
Normal file
22
user/dmenu-user/make-use-env-variables.patch
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue