Commit cd0398cf authored by Felix Paul Kühne's avatar Felix Paul Kühne

contribs: fixed hardcoded paths

parent 22e5015c
......@@ -324,8 +324,8 @@ case "$DISTRO" in
HAVE_MACOSX_DARWIN_9=1
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}"
CC="/usr/bin/gcc-4.2"
CXX="/usr/bin/g++-4.2"
CC="/usr/bin/gcc"
CXX="/usr/bin/g++"
LD="ld"
RANLIB="ranlib"
AR=
......@@ -463,8 +463,8 @@ fi
if test $HAVE_MACOSX_DARWIN_9; then
add_enabled_makefile_cfg "HAVE_MACOSX_DARWIN_9"
if ! /usr/bin/gcc-4.2 --version>/dev/null 2>&1; then
error "You do not have GCC-4.2 installed in /usr/bin, compilation WILL FAIL."
if ! /usr/bin/gcc --version>/dev/null 2>&1; then
error "You do not have GCC installed in /usr/bin, compilation WILL FAIL."
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