nethack: pass LDFLAGS properly.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Template file for 'nethack'
|
||||
pkgname=nethack
|
||||
version=3.6.0
|
||||
revision=1
|
||||
revision=2
|
||||
make_dirs="/var/games/nethack/save 0775 nethack nethack"
|
||||
system_accounts="$pkgname"
|
||||
hostmakedepends="ncurses-devel flex"
|
||||
@@ -25,7 +25,7 @@ do_configure() {
|
||||
|
||||
do_build() {
|
||||
make all dungeon \
|
||||
CC="$CC" LINK="$CC" LDFLAGS="$LDFLAGS" \
|
||||
CC="$CC" LINK="$CC" LFLAGS="$LDFLAGS" \
|
||||
LEX=flex WINTTYLIB=-lncurses \
|
||||
CFLAGS="$CFLAGS -DLINUX -DTIMED_DELAY -DDLB \
|
||||
-DSYSCF -DSYSCF_FILE='\"/usr/lib/nethack\"' \
|
||||
|
||||
Reference in New Issue
Block a user