diff core/procps/procps.sh @ 549:bad483aace64

vanilla: use prefix= instead
author David Demelier <markand@malikania.fr>
date Sun, 23 Jun 2019 15:13:10 +0200
parents 014d018468fb
children 25cecc6dca48
line wrap: on
line diff
--- a/core/procps/procps.sh	Tue Apr 16 20:01:00 2019 +0200
+++ b/core/procps/procps.sh	Sun Jun 23 15:13:10 2019 +0200
@@ -26,11 +26,8 @@
 
 : ${CHOST:=$(uname -m)-linux-musl}
 : ${CBUILD:=$(uname -m)-linux-musl}
-: ${CTARGET:=$(uname -m)-linux-musl}
 : ${CC:=clang}
 : ${CFLAGS:=-O2}
-: ${CXX:=clang++}
-: ${CXXFLAGS:=-O2}
 : ${LDFLAGS:=}
 : ${LIBS:=}
 : ${NLS:=yes}
@@ -50,16 +47,14 @@
 
 	./autogen.sh
 	CC="$CC" \
-	CFLAGS="$CFLAGS" \
-	CXX="$CXX" \
-	CXXFLAGS="$CXXFLAGS" \
+	CFLAGS="$CFLAGS -I/include/ncurses" \
 	LDFLAGS="$LDFLAGS" \
 	LIBS="$LIBS" \
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
-		--target=$CTARGET \
-		--prefix=/ \
+		--prefix= \
+		--sbindir=/bin \
 		--disable-libselinux \
 		--disable-static \
 		--disable-kill \