Skip to content

Commit aa51652

Browse files
committed
why isn't this triggered?
1 parent efb1ff5 commit aa51652

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/SPC/builder/unix/library/libaom.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ protected function build(): void
1919
$cc = getenv('CC');
2020
$cxx = getenv('CXX');
2121
if (str_contains($cc, 'zig') && getenv('SPC_LIBC') === 'musl') {
22-
putenv('CC=' . $cc . ' -D_POSIX_SOURCE');
23-
putenv('CXX=' . $cxx . ' -D_POSIX_SOURCE');
22+
f_putenv('CC=' . $cc . ' -D_POSIX_SOURCE');
23+
f_putenv('CXX=' . $cxx . ' -D_POSIX_SOURCE');
2424
}
2525
UnixCMakeExecutor::create($this)
2626
->setBuildDir("{$this->source_dir}/builddir")
2727
->addConfigureArgs('-DAOM_TARGET_CPU=generic')
2828
->build();
2929
if (str_contains($cc, 'zig') && getenv('SPC_LIBC') === 'musl') {
30-
putenv('CC=' . $cc);
31-
putenv('CXX=' . $cxx);
30+
f_putenv('CC=' . $cc);
31+
f_putenv('CXX=' . $cxx);
3232
}
3333
$this->patchPkgconfPrefix(['aom.pc']);
3434
}

0 commit comments

Comments
 (0)