ports

morpheus ports
git clone git://git.2f30.org/ports.git
Log | Files | Refs | LICENSE

commit f1fe09aa36e12773ad120c5c61acfcbdaea9cc0c
parent 05c98202fb9811d61a00fa6afb3c5ca26d359521
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Tue May 20 15:15:44 +0200

ii: dont use $STRIP, set LDFLAGS

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>

Diffstat:
ii/config.mk | 6+++---
ii/ii.mk | 7++++---
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/ii/config.mk b/ii/config.mk @@ -18,11 +18,11 @@ VERSION = 1.7 #INCLUDES = -I. -I${INCDIR} -I/usr/include #LIBS = -L${LIBDIR} -L/usr/lib -lc # uncomment and comment other variables for compiling on Solaris -#LIBS = -L${LIBDIR} -L/usr/lib -lc -lsocket -lnsl +#LIBS = -L${LIBDIR} -L/usr/lib -lc -lsocket -lnsl #CFLAGS = -g ${INCLUDES} -DVERSION=\"${VERSION}\" # compiler #CC = cc LD = ${CC} -CFLAGS = -g -W -Wall -DVERSION=\"${VERSION}\" -LDFLAGS = ${LIBS} +CFLAGS = -DVERSION=\"${VERSION}\" +LDFLAGS = diff --git a/ii/ii.mk b/ii/ii.mk @@ -5,8 +5,9 @@ TARG = ii ii:QV: # overwrite default config.mk to allow overriding some variables. cp ../config.mk config.mk - CC="${CC} -static" make -j$nprocs PREFIX="$prefix" DESTDIR="$ROOT" + CC="${CC} -static" make -j$nprocs LDFLAGS="$LDFLAGS" \ + PREFIX="$prefix" DESTDIR="$ROOT" install:QV: - make -j$nprocs PREFIX="$prefix" DESTDIR="$ROOT" install - $STRIP "$ROOT/$BINDIR/ii" + make -j$nprocs LDFLAGS="$LDFLAGS" \ + PREFIX="$prefix" DESTDIR="$ROOT" install