Open main menu

Difference between revisions of "Compiling ScummVM/Android"

m
→‎Build the libraries yourself: also set flags for cpp
(warn that jdk 6 is mandatory)
m (→‎Build the libraries yourself: also set flags for cpp)
Line 41: Line 41:
  export STRIP=${PREFIX}strip
  export STRIP=${PREFIX}strip
  export OBJCOPY=${PREFIX}objcopy
  export OBJCOPY=${PREFIX}objcopy
export CPP=${PREFIX}cpp
   
   
  export MACHDEP="--sysroot=$ANDROID_NDK/platforms/android-4/arch-arm -g -mandroid -mthumb-interwork"
  export MACHDEP="--sysroot=$ANDROID_NDK/platforms/android-4/arch-arm -g -mandroid -mthumb-interwork"
Line 47: Line 48:
   
   
  export CXXFLAGS="${CFLAGS}"
  export CXXFLAGS="${CFLAGS}"
export CPPFLAGS="${CFLAGS}"
   
   
  export LDFLAGS="${MACHDEP}"
  export LDFLAGS="${MACHDEP}"
2,051

edits