We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4640969 commit 889d65fCopy full SHA for 889d65f
1 file changed
python/src/moocore/_ffi_build.py
@@ -95,7 +95,7 @@ def _get_target_platform():
95
]
96
MSVC_LDFLAGS = ["/LTCG"] # Link-time optimization
97
GCC_CFLAGS = ["-O3", "-flto", "-fvisibility=hidden"]
98
-GCC_LDFLAGS = [*GCC_CFLAGS]
+GCC_LDFLAGS = []
99
if is_x86_64:
100
# Compile for sufficiently old x86-64 architecture.
101
MSVC_arch = ["/arch:AVX"]
@@ -109,7 +109,7 @@ def _get_target_platform():
109
ldflags = MSVC_LDFLAGS + MSVC_arch
110
else:
111
cflags = GCC_CFLAGS + GCC_arch
112
- ldflags = GCC_LDFLAGS + GCC_arch
+ ldflags = GCC_LDFLAGS
113
if not is_macos:
114
ldflags += ["-Wl,-z,now"]
115
0 commit comments