xcompile: Fix errors thrown during make gitconfig
$ make gitconfig util/xcompile/xcompile: line 164: -print-librt-file-name: command not found util/xcompile/xcompile: line 164: -print-librt-file-name: command not found util/xcompile/xcompile: line 164: -print-librt-file-name: command not found util/xcompile/xcompile: line 164: -print-librt-file-name: command not found [..] Change-Id: Ib477566e3841e419aa7880c912636540a0ad5432 Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: http://review.coreboot.org/10464 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins)
This commit is contained in:
@@ -161,7 +161,9 @@ detect_special_flags() {
|
||||
}
|
||||
|
||||
detect_compiler_runtime() {
|
||||
test -z "$CLANG" || \
|
||||
CC_RT_CLANG="`${CLANG} ${CFLAGS} -print-librt-file-name`"
|
||||
test -z "$GCC" || \
|
||||
CC_RT_GCC="`${GCC} ${CFLAGS} -print-libgcc-file-name`"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user