dev-python/clickgen: fix flags

Closes: https://bugs.gentoo.org/830153
Closes: https://bugs.gentoo.org/830152
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2022-01-08 18:56:26 +05:00
parent 35f922d521
commit f969fea41b
3 changed files with 43 additions and 8 deletions

View File

@@ -0,0 +1,17 @@
--- a/xcursorgen/makefile
+++ b/xcursorgen/makefile
@@ -1,12 +1,12 @@
all: xcursorgen.so
-CC= gcc
+CC ?= gcc
LIBS= -lX11 -lXcursor -lpng -lz
OUT_DIR= ../clickgen
CP= cp -f
xcursorgen.so: xcursorgen.c
- $(CC) -Wl,-zdefs -shared -o xcursorgen.so -fPIC xcursorgen.c $(LIBS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -Wl,-zdefs -shared -o xcursorgen.so -fPIC xcursorgen.c $(LIBS)
$(CP) xcursorgen.so $(OUT_DIR)/xcursorgen.so
clean: