Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <a6d49414-4ab4-54f6-3b68-bf8a6fb1b9ae@gmail.com>
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.