misc/libphysfs/Android.mk
author Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Tue, 07 Jan 2014 11:40:58 +0100
changeset 9949 2aa9cf5badfc
parent 8538 0e113487c4b2
permissions -rw-r--r--
Added cast to qreal, avoiding ftbfs due to issue #758 More explanation here https://wiki.debian.org/ArmEabiFixes And on qt-project.org reference website: "Typedef for double on all platforms except for those using CPUs with ARM architectures. On ARM-based platforms, qreal is a typedef for float for performance reasons."

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE    := physfs

LOCAL_CFLAGS := -O2 -DPHYSFS_NO_CDROM_SUPPORT

LOCAL_C_INCLUDES := $(LOCAL_PATH)

LOCAL_SRC_FILES := physfs.c \
                   physfs_byteorder.c \
                   physfs_unicode.c \
                   platform_posix.c \
                   platform_unix.c \
                   platform_macosx.c \
                   platform_windows.c \
                   archiver_dir.c \
                   archiver_grp.c \
                   archiver_hog.c \
                   archiver_lzma.c \
                   archiver_mvl.c \
                   archiver_qpak.c \
                   archiver_wad.c \
                   archiver_zip.c \

include $(BUILD_SHARED_LIBRARY)