Skip to content

Commit f7a21a8

Browse files
[libc] Remove optimization flags on entrypoints (#165782)
Optimization flags are now handled through a common flag. These are no longer necessary. Fixes #112409
1 parent 1e3a1ce commit f7a21a8

File tree

4 files changed

+1
-187
lines changed

4 files changed

+1
-187
lines changed

libc/src/fenv/CMakeLists.txt

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ add_entrypoint_object(
66
fegetround.h
77
DEPENDS
88
libc.src.__support.FPUtil.fenv_impl
9-
COMPILE_OPTIONS
10-
-O2
119
)
1210

1311
add_entrypoint_object(
@@ -18,8 +16,6 @@ add_entrypoint_object(
1816
fesetround.h
1917
DEPENDS
2018
libc.src.__support.FPUtil.fenv_impl
21-
COMPILE_OPTIONS
22-
-O2
2319
)
2420

2521
add_entrypoint_object(
@@ -30,8 +26,6 @@ add_entrypoint_object(
3026
feclearexcept.h
3127
DEPENDS
3228
libc.src.__support.FPUtil.fenv_impl
33-
COMPILE_OPTIONS
34-
-O2
3529
)
3630

3731
add_entrypoint_object(
@@ -42,8 +36,6 @@ add_entrypoint_object(
4236
feraiseexcept.h
4337
DEPENDS
4438
libc.src.__support.FPUtil.fenv_impl
45-
COMPILE_OPTIONS
46-
-O2
4739
)
4840

4941
add_entrypoint_object(
@@ -54,8 +46,6 @@ add_entrypoint_object(
5446
fetestexcept.h
5547
DEPENDS
5648
libc.src.__support.FPUtil.fenv_impl
57-
COMPILE_OPTIONS
58-
-O2
5949
)
6050

6151
add_entrypoint_object(
@@ -67,8 +57,6 @@ add_entrypoint_object(
6757
DEPENDS
6858
libc.hdr.types.fexcept_t
6959
libc.src.__support.FPUtil.fenv_impl
70-
COMPILE_OPTIONS
71-
-O2
7260
)
7361

7462
add_entrypoint_object(
@@ -80,8 +68,6 @@ add_entrypoint_object(
8068
DEPENDS
8169
libc.hdr.types.fenv_t
8270
libc.src.__support.FPUtil.fenv_impl
83-
COMPILE_OPTIONS
84-
-O2
8571
)
8672

8773
add_entrypoint_object(
@@ -93,8 +79,6 @@ add_entrypoint_object(
9379
DEPENDS
9480
libc.hdr.types.fenv_t
9581
libc.src.__support.FPUtil.fenv_impl
96-
COMPILE_OPTIONS
97-
-O2
9882
)
9983

10084
add_entrypoint_object(
@@ -107,8 +91,6 @@ add_entrypoint_object(
10791
libc.hdr.fenv_macros
10892
libc.hdr.types.fexcept_t
10993
libc.src.__support.FPUtil.fenv_impl
110-
COMPILE_OPTIONS
111-
-O2
11294
)
11395

11496
add_entrypoint_object(
@@ -119,8 +101,6 @@ add_entrypoint_object(
119101
fesetexcept.h
120102
DEPENDS
121103
libc.src.__support.FPUtil.fenv_impl
122-
COMPILE_OPTIONS
123-
-O2
124104
)
125105

126106
add_entrypoint_object(
@@ -133,8 +113,6 @@ add_entrypoint_object(
133113
libc.hdr.fenv_macros
134114
libc.hdr.types.fexcept_t
135115
libc.src.__support.FPUtil.fenv_impl
136-
COMPILE_OPTIONS
137-
-O2
138116
)
139117

140118
add_entrypoint_object(
@@ -147,8 +125,6 @@ add_entrypoint_object(
147125
libc.hdr.fenv_macros
148126
libc.hdr.types.fenv_t
149127
libc.src.__support.FPUtil.fenv_impl
150-
COMPILE_OPTIONS
151-
-O2
152128
)
153129

154130
add_entrypoint_object(
@@ -161,8 +137,6 @@ add_entrypoint_object(
161137
libc.hdr.fenv_macros
162138
libc.hdr.types.fenv_t
163139
libc.src.__support.FPUtil.fenv_impl
164-
COMPILE_OPTIONS
165-
-O2
166140
)
167141

168142
add_entrypoint_object(
@@ -173,8 +147,6 @@ add_entrypoint_object(
173147
feenableexcept.h
174148
DEPENDS
175149
libc.src.__support.FPUtil.fenv_impl
176-
COMPILE_OPTIONS
177-
-O2
178150
)
179151

180152
add_entrypoint_object(
@@ -185,8 +157,6 @@ add_entrypoint_object(
185157
fedisableexcept.h
186158
DEPENDS
187159
libc.src.__support.FPUtil.fenv_impl
188-
COMPILE_OPTIONS
189-
-O2
190160
)
191161

192162
add_entrypoint_object(
@@ -197,6 +167,4 @@ add_entrypoint_object(
197167
fegetexcept.h
198168
DEPENDS
199169
libc.src.__support.FPUtil.fenv_impl
200-
COMPILE_OPTIONS
201-
-O2
202170
)

0 commit comments

Comments
 (0)