Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 21 Dec 2017 09:51:21 +1100
From: Patrick Oppenlander <pattyo.lists@...il.com>
To: musl@...ts.openwall.com
Subject: musl-cross-make: how to build target libraries with -fpic

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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.