File: makefile.linux_clang_amd64

package info (click to toggle)
p7zip 9.20.1~dfsg.1-4.1%2Bdeb8u3
  • links: PTS
  • area: main
  • in suites: jessie
  • size: 13,368 kB
  • sloc: cpp: 104,670; ansic: 12,930; makefile: 1,899; sh: 1,031; asm: 159
file content (22 lines) | stat: -rw-r--r-- 423 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

OPTFLAGS=-O3

# use "-m32" to have a 32bits executable
ALLFLAGS=-m64 ${OPTFLAGS} -pipe \
    	-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
	-DNDEBUG -D_REENTRANT -DENV_UNIX \
	-D_7ZIP_LARGE_PAGES \
	$(LOCAL_FLAGS)

CXX=clang++ $(ALLFLAGS)
CC=clang $(ALLFLAGS)
CC_SHARED=-fPIC
LINK_SHARED=-fPIC -shared

PRE_COMPILED_HEADER=StdAfx.h.gch

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

OBJ_CRC32=$(OBJ_CRC32_C)