diff --git a/src/SPC/store/pkg/PkgConfig.php b/src/SPC/store/pkg/PkgConfig.php index 72058021..4272218a 100644 --- a/src/SPC/store/pkg/PkgConfig.php +++ b/src/SPC/store/pkg/PkgConfig.php @@ -73,9 +73,9 @@ class PkgConfig extends CustomPackage 'PKG_CONFIG_PATH' => BUILD_ROOT_PATH . '/lib/pkgconfig', ]; $shell = shell()->appendEnv($env)->cd($srcdir); - $shell->exec("./configure --prefix='{$prefix}' --with-internal-glib --disable-host-tool --without-sysroot --without-system-include-path --without-system-library-path --without-pc-path"); - $shell->exec('make -j' . (getenv('SPC_CONCURRENCY') ?: '1')); - $shell->exec('make install-exec'); + $shell->exec("CC=cc ./configure --prefix='{$prefix}' --with-internal-glib --disable-host-tool --without-sysroot --without-system-include-path --without-system-library-path --without-pc-path"); + $shell->exec('CC=cc make -j' . (getenv('SPC_CONCURRENCY') ?: '1')); + $shell->exec('CC=cc make install-exec'); if (is_file($bin)) { @shell()->exec('strip ' . $bin); }