mkvtoolnix/packaging/macos/config.sh
Moritz Bunkus 71865d9081
macOS build: don't use visibility compiler flags
According to issue #2508 a self-compiled version of `mkvextract`
misbehaves if the option `-fvisibility=hidden` is used. As building my
own DMG without the option works just fine, and as the resulting
programs work fine, too, I'll simply drop both flags from the build
process altogether.

Fixes #2508.
2019-02-13 13:35:49 +01:00

20 lines
662 B
Bash

export TARGET=$HOME/net/home/opt/mac
export SRCDIR=$HOME/net/home/prog/mac/source
export PACKAGE_DIR=$HOME/prog/mac/packages
export DOCBOOK_XSL_ROOT_DIR=$HOME/prog/mac/xsl-stylesheets
export CMPL=$HOME/tmp/compile
export PATH=${TARGET}/bin:$PATH
export CC="clang"
export CPP="clang -E"
export CXX="clang++"
export CXXCPP="clang++ -E"
export CFLAGS=""
export CXXFLAGS="-std=c++14"
export QT_CXXFLAGS="-stdlib=libc++"
export MACOSX_DEPLOYMENT_TARGET="10.9"
export DRAKETHREADS=${DRAKETHREADS:-4}
export MAKEFLAGS="-j ${DRAKETHREADS}"
export SHARED_QT=1
export QTVER=${QTVER:-5.12.1}
export SIGNATURE_IDENTITY="Developer ID Application: Moritz Bunkus (YZ9DVS8D8C)"