mailing list of musl libc
 help / color / mirror / code / Atom feed
* musl-cross-make: how to build target libraries with -fpic
@ 2017-12-20 22:51 Patrick Oppenlander
  2017-12-21  2:03 ` Rich Felker
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick Oppenlander @ 2017-12-20 22:51 UTC (permalink / raw)
  To: musl

Hi,

what is the the right way to build a toolchain with PIC libraries?

The best I've come up with is to add

GCC_CONFIG_FOR_TARGET = CFLAGS_FOR_TARGET="-g -O2 -fpic"
MUSL_CONFIG = CFLAGS="-fpic"

to my config. But that seems a little over complicated.

Is there a recommended/better way?

Patrick


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-12-21  2:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-20 22:51 musl-cross-make: how to build target libraries with -fpic Patrick Oppenlander
2017-12-21  2:03 ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).