|
@@ -331,7 +331,7 @@ endef
|
|
#
|
|
#
|
|
# And variations on these.
|
|
# And variations on these.
|
|
define toolchain_find_sysroot
|
|
define toolchain_find_sysroot
|
|
-$$(printf $(call toolchain_find_libc_a,$(1)) | sed -r -e 's:/(usr/)?lib(32|64)?([^/]*)?/([^/]*/)?libc\.a::')
|
|
|
|
|
|
+$$(printf $(call toolchain_find_libc_a,$(1)) | sed -r -e 's:/(usr/)?lib(32|64)?([^/]*)?/([^/]*/)?libc\.a:/:')
|
|
endef
|
|
endef
|
|
|
|
|
|
# Returns the lib subdirectory for the given compiler + flags (i.e
|
|
# Returns the lib subdirectory for the given compiler + flags (i.e
|