Rakefile: add additional system library path
This commit is contained in:
parent
53dda1e50f
commit
ed8ce665fc
2
Rakefile
2
Rakefile
|
@ -72,7 +72,7 @@ ldflags << "-nostartfiles"
|
|||
# only keep used sections
|
||||
ldflags << "--gc-sections"
|
||||
# add standard libraries (for libc, libm, libnosys, libgcc) because we don't use arm-none-eabi-gcc to locate them
|
||||
library_paths = ["/usr/arm-none-eabi/lib/armv7-m/", "/usr/lib/gcc/arm-none-eabi/*/armv7-m/"]
|
||||
library_paths = ["/usr/arm-none-eabi/lib/armv7-m/", "/usr/lib/arm-none-eabi/lib/armv7-m/", "/usr/lib/gcc/arm-none-eabi/*/armv7-m/"]
|
||||
# add libopencm3
|
||||
library_paths += [LIBOPENCM3_LIB]
|
||||
# include libraries in flags
|
||||
|
|
Loading…
Reference in New Issue