summaryrefslogtreecommitdiff
path: root/tools/linux_packaging/package
diff options
context:
space:
mode:
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.