p7zip-rar/makefile.cygwin64_asm

23 lines
372 B
Plaintext
Raw Permalink Normal View History

2017-10-11 12:40:22 +02:00
OPTFLAGS=-O -s -m64
ALLFLAGS=${OPTFLAGS} \
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
-DNDEBUG -D_REENTRANT \
-DENV_UNIX \
-D_7ZIP_ASM \
$(LOCAL_FLAGS)
CXX=g++
CC=gcc
LINK_SHARED=-shared
ASM=nasm -f win64 -DCYGWIN64 -Dx64
# Cygwin does not need -ldl
LOCAL_LIBS=-lpthread
LOCAL_LIBS_DLL=$(LOCAL_LIBS)
CPU=x64
OBJ_CRC32=$(OBJ_CRC32_x86_64)
OBJ_AES=AesOpt.o