summaryrefslogtreecommitdiff
path: root/tools/linux_packaging/package
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-10-27 11:34:12 +0100
committerRobin Gareus <robin@gareus.org>2015-10-27 11:34:12 +0100
commit653e80ee21d1f76aa6aa53451a672282c7ea2f63 (patch)
tree5857dffab7f7c2c5f86797cee37d7025f5462662 /tools/linux_packaging/package
parent1de4ed937c064d633b24e732fef64b6304920996 (diff)
linux-package: add gcc5 suffix to the file-name
Diffstat (limited to 'tools/linux_packaging/package')
-rwxr-xr-xtools/linux_packaging/package6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/linux_packaging/package b/tools/linux_packaging/package
index a32de23048..3614df1fe0 100755
--- a/tools/linux_packaging/package
+++ b/tools/linux_packaging/package
@@ -9,6 +9,7 @@ BUILDTYPE=""
SINGLE_ARCH="F"
X86_BUNDLE_OK="F"
X86_64_BUNDLE_OK="F"
+GCC5ABI="F"
MAKESELF=""
BUILD_ROOT=../../build
@@ -45,7 +46,7 @@ while [ $# -gt 0 ] ; do
--singlearch) SINGLE_ARCH="T" ; shift ;;
- --gcc5abi) shift ;;
+ --gcc5abi) GCC5ABI="T" ; shift ;;
*)
#catch all for unknown arguments
@@ -138,6 +139,9 @@ else
fi
fi
+if [ "$GCC5ABI" = "T" ]; then
+ PACKAGE="${PACKAGE}-gcc5"
+fi
echo "Cleaning up any old package files for this build"
#Get rid of any old packages of this same name.