repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert "[LoongArch] Eliminate the redundant sign extension of division (#107971)"
[llvm-project.git]
/
lldb
/
test
/
API
/
functionalities
/
dead-strip
/
Makefile
blob
3e7e139ddd603e520798819701cef85b1cf39031
1
C_SOURCES
:=
main.c
2
3
ifeq
"$(OS)"
""
4
OS
= $(
shell
uname
-
s
)
5
endif
6
7
ifeq
"$(OS)"
"Darwin"
8
LD_EXTRAS
= -
Xlinker
-
dead_strip
9
else
10
CFLAGS_EXTRAS
+= -
fdata-sections
-
ffunction-sections
11
ifeq
"$(OS)"
"Windows_NT"
12
LD_EXTRAS
= -
Xlinker
/
OPT
:
REF
13
else
14
LD_EXTRAS
= -
Wl
,--
gc-sections
15
endif
16
endif
17
18
MAKE_DSYM
:=
NO
19
20
include
Makefile.rules