fix(cli): C_FLAGS should be CFLAGS
This commit is contained in:
parent
6d56595d38
commit
266d1f21ec
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ class Builder {
|
||||||
(process.env.TARGET_CC === 'clang' || !process.env.TARGET_CC)) ||
|
(process.env.TARGET_CC === 'clang' || !process.env.TARGET_CC)) ||
|
||||||
process.env.TARGET_CC === 'clang'
|
process.env.TARGET_CC === 'clang'
|
||||||
) {
|
) {
|
||||||
this.envs.C_FLAGS = `--sysroot=${this.envs.TARGET_SYSROOT}`
|
this.envs.CFLAGS = `--sysroot=${this.envs.TARGET_SYSROOT}`
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
debug.warn('Pick cross toolchain failed', e as Error)
|
debug.warn('Pick cross toolchain failed', e as Error)
|
||||||
|
|
Loading…
Reference in a new issue