diff options
Diffstat (limited to 'core/carbs-init')
-rwxr-xr-x | core/carbs-init/build | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/carbs-init/build b/core/carbs-init/build index c46dc3e2..4fa04cb5 100755 --- a/core/carbs-init/build +++ b/core/carbs-init/build @@ -2,4 +2,6 @@ patch -p1 < respawn-fix.patch -make DESTDIR="$1" install +[ "$CPT_CROSS_TRIPLET" ] && CC=$CPT_CROSS_TRIPLET-cc + +make CC="${CC:-cc}" DESTDIR="$1" install |