mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
linux-installer: gcc4/5 warning.
This commit is contained in:
parent
ba6e274efa
commit
1ef17e5813
2 changed files with 46 additions and 1 deletions
|
|
@ -32,6 +32,7 @@ WITH_NLS=
|
|||
EXTERNAL_JACK=
|
||||
VENDOR=Ardour ;
|
||||
EXENAME=ardour
|
||||
GCC5ABI=false
|
||||
BUILDTYPE=""
|
||||
|
||||
|
||||
|
|
@ -86,6 +87,7 @@ while [ $# -gt 0 ] ; do
|
|||
--sysdeps) PRINT_SYSDEPS=1; shift ;;
|
||||
--nls) WITH_NLS=1 ; shift ;;
|
||||
--harvid) WITH_HARVID=1 ; shift ;;
|
||||
--gcc5abi) GCC5ABI=true ; shift ;;
|
||||
|
||||
*)
|
||||
#catch all for unknown arguments
|
||||
|
|
@ -655,10 +657,18 @@ chmod a+x $APPBIN/${APP_VER_NAME}.uninstall.sh
|
|||
#
|
||||
# Add the stage2.run script
|
||||
#
|
||||
sed -e "s/%REPLACE_MAJOR_VERSION%/${major_version}/;s/%REPLACE_PGM%/${APPNAME}/;s/%REPLACE_VENDOR%/${VENDOR}/;s/%REPLACE_EXE%/${EXENAME}/" < stage2.run.in > stage2.run
|
||||
sed -e "s/%REPLACE_MAJOR_VERSION%/${major_version}/;s/%REPLACE_PGM%/${APPNAME}/;s/%REPLACE_VENDOR%/${VENDOR}/;s/%REPLACE_EXE%/${EXENAME}/;s/%REPLACE_GCC5%/${GCC5ABI}" < stage2.run.in > stage2.run
|
||||
chmod a+x stage2.run
|
||||
|
||||
|
||||
# gcc4/5 ABI test tool
|
||||
if [ -e $BUILD_ROOT/tools/gccabicheck/gcc-glibmm-abi-check]; then
|
||||
cp $BUILD_ROOT/tools/gccabicheck/gcc-glibmm-abi-check $APPBIN
|
||||
else
|
||||
echo "!!!ERROR !!! gcc-glibmm-abi-check program is missing. packager will exit without being complete"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#Sanity Check file
|
||||
if [ -e $BUILD_ROOT/tools/sanity_check/sanityCheck ]; then
|
||||
cp $BUILD_ROOT/tools/sanity_check/sanityCheck $APPBIN
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue