makefile.linux_cross_s390x 507 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
#
# makefile for Linux (CROSS s390x)
#

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)

13 14
CXX=s390x-linux-gnu-g++ -m64
CC=s390x-linux-gnu-gcc -m64
15 16 17 18 19 20 21 22 23 24 25
CC_SHARED=-fPIC -DPIC
LINK_SHARED=-fPIC -DPIC -shared

TOOLS=qemu-s390x /usr/s390x-linux-gnu/lib/ld64.so.1 --library-path /usr/s390x-linux-gnu/lib

LOCAL_LIBS=-lpthread
LOCAL_LIBS_DLL=$(LOCAL_LIBS) -ldl

OBJ_CRC32=$(OBJ_CRC32_C)
OBJ_AES=