Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Side by Side Diff: compiler-rt/lib/Makefile-pnacl

Issue 7205042: pnacl: move libgcc compiler flags into utman (Closed)
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # This Makefile builds onacl version of libgcc.a 1 # This Makefile builds onacl version of libgcc.a
2 # 2 #
3 # More information on the functions of libgcc can be found at: 3 # More information on the functions of libgcc can be found at:
4 # http://gcc.gnu.org/onlinedocs/gccint/Libgcc.html#Libgcc 4 # http://gcc.gnu.org/onlinedocs/gccint/Libgcc.html#Libgcc
5 # ../README.txt 5 # ../README.txt
6 # 6 #
7 # The following variables are expected to be set externally: 7 # The following variables are expected to be set externally:
8 8
9 # SRC_DIR 9 # SRC_DIR
10 # ARCH 10 # ARCH
jvoung - send to chromium... 2011/06/20 21:10:02 ARCH no longer needed?
robertm 2011/06/20 21:16:06 just fixed that - it will eventually be obsolete
jvoung - send to chromium... 2011/06/20 23:06:41 So, what is the outcome? Cleanup now, or no?
robertm 2011/06/20 23:17:14 will clean this up before submitting On 2011/06/2
11 # CC 11 # CC
12 # AR 12 # AR
13 # CFLAGS 13 # CFLAGS
14 14
15 # pick up .c files from another dir 15 # pick up .c files from another dir
16 vpath %.c ${SRC_DIR} 16 vpath %.c ${SRC_DIR}
17 17
18 18
19 # TODO(robertm): augment/prune this as we gain a better understanding of llc 19 # TODO(robertm): augment/prune this as we gain a better understanding of llc
20 # http://code.google.com/p/nativeclient/issues/detail?id=842 20 # http://code.google.com/p/nativeclient/issues/detail?id=842
(...skipping 15 matching lines...) Expand all
36 floatundidf.c floatundisf.c floatundixf.c \ 36 floatundidf.c floatundisf.c floatundixf.c \
37 floatunsidf.c floatunsisf.c \ 37 floatunsidf.c floatunsisf.c \
38 floatuntidf.c floatuntisf.c floatuntixf.c \ 38 floatuntidf.c floatuntisf.c floatuntixf.c \
39 moddi3.c modsi3.c modti3.c \ 39 moddi3.c modsi3.c modti3.c \
40 powisf2.c powidf2.c \ 40 powisf2.c powidf2.c \
41 udivdi3.c udivsi3.c udivti3.c \ 41 udivdi3.c udivsi3.c udivti3.c \
42 udivmoddi4.c udivmodsi4.c udivmodti4.c \ 42 udivmoddi4.c udivmodsi4.c udivmodti4.c \
43 umoddi3.c umodsi3.c umodti3.c 43 umoddi3.c umodsi3.c umodti3.c
44 44
45 # NOTE: we build pic so we can use this for both pic and non-pic nexes 45 # NOTE: we build pic so we can use this for both pic and non-pic nexes
46 EXTRA_FLAGS= -arch ${ARCH} -I${SRC_DIR} --pnacl-allow-translate -O3 -fPIC 46 EXTRA_FLAGS= -I${SRC_DIR}
47 EXTRA_DEFINES= -D_YUGA_LITTLE_ENDIAN=1 -D_YUGA_BIG_ENDIAN=0 47 EXTRA_DEFINES= -D_YUGA_LITTLE_ENDIAN=1 -D_YUGA_BIG_ENDIAN=0
48 48
49 # overwrite default rule to make sure nothig unexpected happens 49 # overwrite default rule to make sure nothig unexpected happens
50 %.o : %.c 50 %.o : %.c
51 $(CC) -c $(CFLAGS) ${EXTRA_DEFINES} ${EXTRA_FLAGS} $< -o $@ 51 $(CC) -c $(CFLAGS) ${EXTRA_DEFINES} ${EXTRA_FLAGS} $< -o $@
52 52
53 # The main target of this Makefile 53 # The main target of this Makefile
54 libgcc.a: $(SRCS:.c=.o) 54 libgcc.a: $(SRCS:.c=.o)
55 $(AR) rc $@ $^ 55 $(AR) rc $@ $^
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698