From: <smi...@us...> - 2003-12-24 23:07:34
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv7660/scripts Modified Files: settings Log Message: add support for compilation with "-pie" Index: settings =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/settings,v retrieving revision 1.37 retrieving revision 1.38 diff -u -d -r1.37 -r1.38 --- settings 7 Oct 2003 23:22:03 -0000 1.37 +++ settings 24 Dec 2003 23:07:30 -0000 1.38 @@ -24,6 +24,9 @@ KERNELVERSION=$(grep UTS_RELEASE $WORKDIR/linux-2.*/include/linux/version.h 2> /dev/null | sed 's/\"//g' | cut -d " " -f 3) SRCDIR=$DL_DIR/src +PIE="" +test "$CONFIG_GCC_PIE" = "y" && PIE="-pie" + # get current version if [ "$DL_IS_OFFICIAL_RELEASE" = "y" ]; then DL_VERSION="$(cat $SCRCONFIG/VERSION)" |