search for: staticopt

Displaying 2 results from an estimated 2 matches for "staticopt".

Did you mean: staticip
2020 Aug 20
0
[klibc:master] klcc: Treat CC, LD, STRIP as multiple words
...ed ) { - $rv = mysystem($LD, @LDFLAGS, @sharedopt, @ldopt, @outopt, @objs, + $rv = mysystem(@LD, @LDFLAGS, @sharedopt, @ldopt, @outopt, @objs, @libs, @stdlibpath, '--start-group', @sharedlib, $libgcc, '--end-group'); } else { - $rv = mysystem($LD, @LDFLAGS, @staticopt, @ldopt, @outopt, @objs, + $rv = mysystem(@LD, @LDFLAGS, @staticopt, @ldopt, @outopt, @objs, @libs, @stdlibpath, '--start-group', @staticlib, $libgcc, '--end-group'); } @@ -270,7 +270,7 @@ if ( $operation ne '' ) { unlink(@rmobjs); if ( $...
2020 Aug 29
0
[klibc:riscv64-enable-relax] Kbuild, klcc: Support multiple objects in KLIBCCRTSHARED
...)/usr/klibc/version)' >> $@ $(Q)echo 'prefix=$(INSTALLDIR)' >> $@ diff --git a/klcc/klcc.in b/klcc/klcc.in index 7b3b8f3b..fab32391 100644 --- a/klcc/klcc.in +++ b/klcc/klcc.in @@ -17,7 +17,7 @@ use IPC::Open3; # Options and libraries to pass to ld; shared versus static @staticopt = ("${prefix}/${KCROSS}lib/crt0.o"); @staticlib = ("${prefix}/${KCROSS}lib/libc.a"); - at sharedopt = (@EMAIN, "${prefix}/${KCROSS}lib/interp.o"); + at sharedopt = (@EMAIN, map { "${prefix}/${KCROSS}lib/$_" } @CRTSHARED); @sharedlib = ('-R', "$...