Commit 8fad40cb authored by Felix Paul Kühne's avatar Felix Paul Kühne

contribs: Use the gcc toolchain installed in /usr/bin instead of /Developer...

contribs: Use the gcc toolchain installed in /usr/bin instead of /Developer because the latter is no reliable path as it can be installed anywhere
parent 50c38afe
...@@ -341,8 +341,8 @@ case "$DISTRO" in ...@@ -341,8 +341,8 @@ case "$DISTRO" in
HAVE_DARWIN_9=1 HAVE_DARWIN_9=1
EXTRA_LDFLAGS="${EXTRA_LDFLAGS} -isysroot \${MACOSX_SDK} -Wl,-syslibroot,\${MACOSX_SDK} -mmacosx-version-min=\${SDK_TARGET}" EXTRA_LDFLAGS="${EXTRA_LDFLAGS} -isysroot \${MACOSX_SDK} -Wl,-syslibroot,\${MACOSX_SDK} -mmacosx-version-min=\${SDK_TARGET}"
EXTRA_CFLAGS="${EXTRA_CFLAGS} -D\${ENVP} -isysroot \${MACOSX_SDK} -mmacosx-version-min=\${SDK_TARGET}" EXTRA_CFLAGS="${EXTRA_CFLAGS} -D\${ENVP} -isysroot \${MACOSX_SDK} -mmacosx-version-min=\${SDK_TARGET}"
CC="/Developer/usr/bin/gcc-4.2" CC="/usr/bin/gcc-4.2"
CXX="/Developer/usr/bin/g++-4.2" CXX="/usr/bin/g++-4.2"
add_makefile_cfg "PATH = /bin:/usr/bin:/usr/local/bin" add_makefile_cfg "PATH = /bin:/usr/bin:/usr/local/bin"
add_makefile_cfg "SDK_TARGET = ${SDK_TARGET}" add_makefile_cfg "SDK_TARGET = ${SDK_TARGET}"
add_makefile_cfg "ENVP = MACOSX_DEPLOYMENT_TARGET=${SDK_TARGET}" add_makefile_cfg "ENVP = MACOSX_DEPLOYMENT_TARGET=${SDK_TARGET}"
...@@ -428,8 +428,8 @@ fi ...@@ -428,8 +428,8 @@ fi
if test $HAVE_DARWIN_9; then if test $HAVE_DARWIN_9; then
add_makefile_cfg "HAVE_DARWIN_9 = 1" add_makefile_cfg "HAVE_DARWIN_9 = 1"
if ! /Developer/usr/bin/gcc-4.2 --version>/dev/null 2>&1; then if ! /usr/bin/gcc-4.2 --version>/dev/null 2>&1; then
error "You do not have GCC-4.2 instelled, compilation WILL FAIL." error "You do not have GCC-4.2 installed in /usr/bin, compilation WILL FAIL."
fi fi
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment