Browse Source

build: make sure the builds _and_ the autobuilds work around the

memory leak in OS X llvm-g++.
legacy
Sam Hocevar sam 12 years ago
parent
commit
c83dfe7239
2 changed files with 10 additions and 0 deletions
  1. +4
    -0
      build/lol-build
  2. +6
    -0
      build/run-bitten.sh

+ 4
- 0
build/lol-build View File

@@ -199,6 +199,10 @@ configure()
nacl-amd64)
./configure CXX=x86_64-nacl-g++ CC=x86_64-nacl-gcc ac_cv_exeext=.64.nexe --host=x86_64 LOL_LIBS="-lppapi -lppapi_gles2 -lppapi_cpp -u _ZN2pp12CreateModuleEv"
;;
osx-amd64)
# HACK: use clang++ because of a memory leak in llvm-g++.
./configure CXX=clang++ CC=clang
;;
ps3-ppu)
PATH="$PATH" ./configure CXX=ppu-lv2-g++ CC=ppu-lv2-gcc ac_cv_exeext=.elf --host=powerpc
;;


+ 6
- 0
build/run-bitten.sh View File

@@ -239,6 +239,12 @@ if [ "$family" = "osx" ]; then
# use the one in /usr/local/bin instead.
PATH="/usr/local/bin:$PATH"
export PATH
# HACK: the version of llvm-g++ shipped by Apple has an insane
# memory leak; use clang++ instead.
CC="clang"
export CC
CXX="clang++"
export CXX
fi

#


Loading…
Cancel
Save