Skip to content

Commit f38ae4b

Browse files
committed
Remove cl.exe option /GL
This causes the .obj files to be unparsable by editbin, dumpbin, nm, objcopy, goblin and object. Related to #169
1 parent 38179ef commit f38ae4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyoxidizer/src/distutils/_msvccompiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def initialize(self, plat_name=None):
265265
# use /MT[d] to build statically, then switch from libucrt[d].lib to ucrt[d].lib
266266
# later to dynamically link to ucrtbase but not vcruntime.
267267
self.compile_options = [
268-
'/nologo', '/Ox', '/W3', '/GL', '/DNDEBUG'
268+
'/nologo', '/Ox', '/W3', '/DNDEBUG'
269269
]
270270
self.compile_options.append('/MD' if self._vcruntime_redist else '/MT')
271271

0 commit comments

Comments
 (0)