Ignore:
Timestamp:
Nov 19, 2012, 1:53:17 AM (7 years ago)
Author:
sam
Message:

build: try to build neercs on Android; far from ready yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build/lol-build

    r1995 r2093  
    104104    cd "$top_srcdir"
    105105    case "$platform" in
     106        android-arm)
     107            PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$PWD/external/libcaca-0.99.beta18/lib/pkgconfig"
     108            LDFLAGS="$LDFLAGS -L$PWD/external/libcaca-0.99.beta18/lib/arm-linux-androideabi -lz"
     109            CPPFLAGS="$CPPFLAGS -I$PWD/external/libcaca-0.99.beta18/include -DCACA_STATIC"
     110            ;;
    106111        win*-i386)
    107112            if test "x${MSYSTEM}" = xMINGW32; then
     
    168173            ;;
    169174        android-arm)
    170             CPPFLAGS="-Wno-psabi -I$ANDROID_NDK_ROOT/sources/cxx-stl/stlport/stlport -fpic -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64"
    171             CFLAGS="-march=armv5te -mtune=xscale -msoft-float -mthumb"
    172             CXXFLAGS="-march=armv5te -mtune=xscale -msoft-float -mthumb -fno-rtti -fno-exceptions"
    173             LOL_LIBS="-L$ANDROID_NDK_ROOT/sources/cxx-stl/stlport/libs/armeabi -lstlport_shared -lm -fpic -XCClinker -shared"
    174             ./configure --host=arm-linux-androideabi ac_cv_exeext=.so CPPFLAGS="$CPPFLAGS" CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LOL_LIBS="$LOL_LIBS"
     175            CPPFLAGS="$CPPFLAGS -Wno-psabi -I$ANDROID_NDK_ROOT/sources/cxx-stl/stlport/stlport -fpic -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64"
     176            CFLAGS="$CFLAGS -march=armv5te -mtune=xscale -msoft-float -mthumb"
     177            CXXFLAGS="$CXXFLAGS -march=armv5te -mtune=xscale -msoft-float -mthumb -fno-rtti -fno-exceptions"
     178            LOL_LIBS="$LOL_LIBS -L$ANDROID_NDK_ROOT/sources/cxx-stl/stlport/libs/armeabi -lstlport_shared -lm -fpic -XCClinker -shared"
     179            PKG_CONFIG_PATH="$PKG_CONFIG_PATH" ./configure --host=arm-linux-androideabi ac_cv_exeext=.so CPPFLAGS="$CPPFLAGS" CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS" LOL_LIBS="$LOL_LIBS"
    175180            # FIXME: is this needed?
    176181            # ant debug
Note: See TracChangeset for help on using the changeset viewer.