8000 BLD: remove `-fno-strict-aliasing`, `--strip-debug` from cibuildwheel… · numpy/numpy@1d01aae · GitHub
[go: up one dir, main page]

Skip to content

Commit 1d01aae

Browse files
committed
BLD: remove -fno-strict-aliasing, --strip-debug from cibuildwheel config
It's already included in the top-level `meson.build` file, which is more correct. See gh-25004 for where `-fno-strict-aliasing` came from. Also clean up the `-Wl,--strip-debug` flag, it's unused since the buildtype is release and there is no debug info in the binaries. [skip ci]
1 parent 9fd38f9 commit 1d01aae

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ test-command = "bash {project}/tools/wheels/cibw_test_command.sh {project}"
156156
manylinux-x86_64-image = "manylinux2014"
157157
manylinux-aarch64-image = "manylinux2014"
158158
musllinux-x86_64-image = "musllinux_1_1"
159-
environment = {CFLAGS="-fno-strict-aliasing", LDFLAGS="-Wl,--strip-debug", RUNNER_OS="Linux"}
159+
environment = {RUNNER_OS="Linux"}
160160

161161
[tool.cibuildwheel.macos]
162162
# For universal2 wheels, we will need to fuse them manually
@@ -166,8 +166,7 @@ environment = {CFLAGS="-fno-strict-aliasing", LDFLAGS="-Wl,--strip-debug", RUNNE
166166
# for more info
167167
archs = "x86_64 arm64"
168168
test-skip = "*_universal2:arm64"
169-
# MACOS linker doesn't support stripping symbols.
170-
environment = {CFLAGS="-fno-strict-aliasing", RUNNER_OS="macOS"}
169+
environment = {RUNNER_OS="macOS"}
171170

172171
[tool.cibuildwheel.windows]
173172
environment = {PKG_CONFIG_PATH="C:/opt/64/lib/pkgconfig"}

0 commit comments

Comments
 (0)
0