소스 검색

build: only pass -fno-exceptions -fno-rtti to the C++ compiler, never to

the C compiler (the Android build script did that).
legacy
Sam Hocevar sam 12 년 전
부모
커밋
1026860ac0
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      build/lol-build

+ 2
- 2
build/lol-build 파일 보기

@@ -153,9 +153,9 @@ configure()
# No configuration needed
;;
android-arm)
CPPFLAGS="-Wno-psabi -I$ANDROID_NDK_ROOT/sources/cxx-stl/stlport/stlport -fpic -fno-exceptions -fno-rtti -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64"
CPPFLAGS="-Wno-psabi -I$ANDROID_NDK_ROOT/sources/cxx-stl/stlport/stlport -fpic -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64"
CFLAGS="-march=armv5te -mtune=xscale -msoft-float -mthumb"
CXXFLAGS="-march=armv5te -mtune=xscale -msoft-float -mthumb"
CXXFLAGS="-march=armv5te -mtune=xscale -msoft-float -mthumb -fno-rtti -fno-exceptions"
LOL_LIBS="-L$ANDROID_NDK_ROOT/sources/cxx-stl/stlport/libs/armeabi -lstlport_shared -lm -fpic -XCClinker -shared"
./configure --host=arm-linux-androideabi ac_cv_exeext=.so CPPFLAGS="$CPPFLAGS" CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LOL_LIBS="$LOL_LIBS"
# FIXME: is this needed?


불러오는 중...
취소
저장