26 lines
534 B
Plaintext
26 lines
534 B
Plaintext
|
#
|
||
|
# makefile for Linux (CROSS ARM)
|
||
|
#
|
||
|
|
||
|
OPTFLAGS=-O -s
|
||
|
|
||
|
ALLFLAGS=${OPTFLAGS} -pipe \
|
||
|
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
|
||
|
-DNDEBUG -D_REENTRANT -DENV_UNIX \
|
||
|
-D_7ZIP_LARGE_PAGES \
|
||
|
$(LOCAL_FLAGS)
|
||
|
|
||
|
CXX=powerpc64le-linux-gnu-g++ -m64
|
||
|
CC=powerpc64le-linux-gnu-gcc -m64
|
||
|
CC_SHARED=-fPIC -DPIC
|
||
|
LINK_SHARED=-fPIC -DPIC -shared
|
||
|
|
||
|
TOOLS=qemu-ppc64le /usr/powerpc64le-linux-gnu/lib/ld64.so.2 --library-path /usr/powerpc64le-linux-gnu/lib
|
||
|
|
||
|
LOCAL_LIBS=-lpthread
|
||
|
LOCAL_LIBS_DLL=$(LOCAL_LIBS) -ldl
|
||
|
|
||
|
OBJ_CRC32=$(OBJ_CRC32_C)
|
||
|
OBJ_AES=
|
||
|
|