Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
     5         kx #!/bin/sh
     5         kx 
     5         kx usage() {
     5         kx 	cat <<EOF
     5         kx Usage:
     5         kx   /usr/bin/32/jemalloc-config <option>
     5         kx Options:
     5         kx   --help | -h  : Print usage.
     5         kx   --version    : Print jemalloc version.
     5         kx   --revision   : Print shared library revision number.
     5         kx   --config     : Print configure options used to build jemalloc.
     5         kx   --prefix     : Print installation directory prefix.
     5         kx   --bindir     : Print binary installation directory.
     5         kx   --datadir    : Print data installation directory.
     5         kx   --includedir : Print include installation directory.
     5         kx   --libdir     : Print library installation directory.
     5         kx   --mandir     : Print manual page installation directory.
     5         kx   --cc         : Print compiler used to build jemalloc.
     5         kx   --cflags     : Print compiler flags used to build jemalloc.
     5         kx   --cppflags   : Print preprocessor flags used to build jemalloc.
     5         kx   --cxxflags   : Print C++ compiler flags used to build jemalloc.
     5         kx   --ldflags    : Print library flags used to build jemalloc.
     5         kx   --libs       : Print libraries jemalloc was linked against.
     5         kx EOF
     5         kx }
     5         kx 
     5         kx prefix="/usr"
     5         kx exec_prefix="/usr"
     5         kx 
     5         kx case "$1" in
     5         kx --help | -h)
     5         kx 	usage
     5         kx 	exit 0
     5         kx 	;;
     5         kx --version)
     5         kx 	echo "5.2.1"
     5         kx 	;;
     5         kx --revision)
     5         kx 	echo "2"
     5         kx 	;;
     5         kx --config)
     5         kx 	echo "--prefix=/usr --libdir=/usr/lib32 --bindir=/usr/bin/32 --docdir=/usr/share/doc/jemalloc-5.2.1 --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var --enable-shared=yes --enable-static=no 'CC=/usr/bin/gcc' 'CFLAGS=-I/usr/include -g -O2' 'LDFLAGS=-L/lib32 -L/usr/lib32' CPPFLAGS="
     5         kx 	;;
     5         kx --prefix)
     5         kx 	echo "/usr"
     5         kx 	;;
     5         kx --bindir)
     5         kx 	echo "/usr/bin/32"
     5         kx 	;;
     5         kx --datadir)
     5         kx 	echo "/usr/share"
     5         kx 	;;
     5         kx --includedir)
     5         kx 	echo "/usr/include"
     5         kx 	;;
     5         kx --libdir)
     5         kx 	echo "/usr/lib32"
     5         kx 	;;
     5         kx --mandir)
     5         kx 	echo "/usr/share/man"
     5         kx 	;;
     5         kx --cc)
     5         kx 	echo "/usr/bin/gcc -m32"
     5         kx 	;;
     5         kx --cflags)
     5         kx 	echo "-I/usr/include -g -O3 -m32 -fvisibility=hidden"
     5         kx 	;;
     5         kx --cppflags)
     5         kx 	echo " -D_GNU_SOURCE -D_REENTRANT"
     5         kx 	;;
     5         kx --cxxflags)
     5         kx 	echo "-I/usr/include -g -O3 -m32 -fvisibility=hidden"
     5         kx 	;;
     5         kx --ldflags)
     5         kx 	echo "-L/lib32 -L/usr/lib32 "
     5         kx 	;;
     5         kx --libs)
     5         kx 	echo "-lm -lstdc++ -pthread"
     5         kx 	;;
     5         kx *)
     5         kx 	usage
     5         kx 	exit 1
     5         kx esac