mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2025-01-21 07:30:47 +00:00
build script: skip testing step of bzip2 target
This commit is contained in:
parent
5cd25a6312
commit
e007118a87
1 changed files with 5 additions and 1 deletions
6
build.py
6
build.py
|
@ -620,9 +620,13 @@ class Bzip2Target(MakeTarget):
|
|||
def configure(self, builder: 'Builder'):
|
||||
super().configure(builder)
|
||||
|
||||
opts = self.options
|
||||
# Add explicit targets in order to skip testing step that is incompatible with cross-compilation
|
||||
opts['bzip2'] = None
|
||||
opts['bzip2recover'] = None
|
||||
# Copy compiler flags from environment to command line argument, they would be overridden by Makefile otherwise
|
||||
cflags = 'CFLAGS'
|
||||
self.options[cflags] = self.environment[cflags] + ' -D_FILE_OFFSET_BITS=64 -O2'
|
||||
opts[cflags] = self.environment[cflags] + ' -D_FILE_OFFSET_BITS=64 -O2'
|
||||
|
||||
def post_build(self, builder: 'Builder'):
|
||||
self.options['PREFIX'] = self.prefix
|
||||
|
|
Loading…
Reference in a new issue