Changeset 1704


Ignore:
Timestamp:
Aug 7, 2012, 8:12:42 PM (8 years ago)
Author:
sam
Message:

build: only pass -fno-exceptions -fno-rtti to the C++ compiler, never to
the C compiler (the Android build script did that).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build/lol-build

    r1697 r1704  
    154154            ;;
    155155        android-arm)
    156             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"
     156            CPPFLAGS="-Wno-psabi -I$ANDROID_NDK_ROOT/sources/cxx-stl/stlport/stlport -fpic -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64"
    157157            CFLAGS="-march=armv5te -mtune=xscale -msoft-float -mthumb"
    158             CXXFLAGS="-march=armv5te -mtune=xscale -msoft-float -mthumb"
     158            CXXFLAGS="-march=armv5te -mtune=xscale -msoft-float -mthumb -fno-rtti -fno-exceptions"
    159159            LOL_LIBS="-L$ANDROID_NDK_ROOT/sources/cxx-stl/stlport/libs/armeabi -lstlport_shared -lm -fpic -XCClinker -shared"
    160160            ./configure --host=arm-linux-androideabi ac_cv_exeext=.so CPPFLAGS="$CPPFLAGS" CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LOL_LIBS="$LOL_LIBS"
Note: See TracChangeset for help on using the changeset viewer.