yeahconsole: pass CFLAGS and LDFLAGS.
This commit is contained in:
parent
2c8a5cd2c0
commit
524be34861
2 changed files with 17 additions and 1 deletions
16
srcpkgs/yeahconsole/patches/make.patch
Normal file
16
srcpkgs/yeahconsole/patches/make.patch
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
--- Makefile
|
||||||
|
+++ Makefile
|
||||||
|
@@ -14,11 +14,11 @@ OBJECTS := yeahconsole.o
|
||||||
|
SOURCES := yeahconsole.c
|
||||||
|
|
||||||
|
$(TARGET): $(OBJECTS)
|
||||||
|
- $(CC) $(DEFINES) $(INCLUDES) $(LIB_DIRS) $(LIBS) -o $@ $<
|
||||||
|
+ $(CC) $(DEFINES) $(INCLUDES) $(LIB_DIRS) $(LIBS) -o $@ $< $(LDFLAGS)
|
||||||
|
strip $@
|
||||||
|
|
||||||
|
$(OBJECTS): $(SOURCES)
|
||||||
|
- $(CC) $(FLAGS) $(DEFINES) $(INCLUDES) $(LIB_DIRS) -c -o $@ $<
|
||||||
|
+ $(CC) $(FLAGS) $(CFLAGS) $(DEFINES) $(INCLUDES) $(LIB_DIRS) -c -o $@ $<
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf $(TARGET) $(OBJECTS)
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'yeahconsole'
|
# Template file for 'yeahconsole'
|
||||||
pkgname=yeahconsole
|
pkgname=yeahconsole
|
||||||
version=0.3.4
|
version=0.3.4
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
makedepends="libX11-devel"
|
makedepends="libX11-devel"
|
||||||
short_desc="Turns an xterm or rxvt-unicode into a game-like console"
|
short_desc="Turns an xterm or rxvt-unicode into a game-like console"
|
||||||
|
|
Loading…
Reference in a new issue