1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-04 21:50:51 +01:00

Updating new Xcode project

This provides additional improvements and updates for building
Audacity using Xcode 5.1 or above.

The whole configure/makefile system is no longer used during
normal builds.  During library additions/updates it used to
regenerated the headers in mac/config.
This commit is contained in:
Leland Lucius
2015-04-21 16:52:53 -05:00
parent da2b9e3233
commit d344ff8f88
25 changed files with 3809 additions and 290 deletions

View File

@@ -44,8 +44,15 @@ function build
# Build the plugin if it doesn't exist
if [ ! -e "${TARGET_BUILD_DIR}/${target}.so" ]
then
echo "Building ${target}"
gcc-"${GCC_VERSION}" -bundle -arch ${ARCHS/ / -arch } \
GCC=gcc
if [ -e "${GCC}-${GCC_VERSION}" ]
then
GCC="${GCC}-${GCC_VERSION}"
fi
echo "Building ${target} using ${GCC}"
"${GCC}" -bundle -arch ${ARCHS/ / -arch } \
-mmacosx-version-min="${MACOSX_DEPLOYMENT_TARGET}" -isysroot "${SDKROOT}" \
-O3 -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math \
"-D_init=__attribute__ ((constructor)) _${target}_init" \