Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Fri, 06 Nov 2015 23:46:40 +0000
From: Petr Hosek <phosek@...gle.com>
To: "musl@...ts.openwall.com" <musl@...ts.openwall.com>
Subject: [PATCH] don't define SHARED macro in the source

When building musl with pnacl-clang compiler I found a bug: crt/rcrt1.c
defines the SHARED macro which enables the conditional block in
src/ldso/dlstart.c, this breaks for us because pnacl-clang doesn't support
shared libraries nor inline assembly. If my understanding is correct, the
SHARED macro should be (and already is) defined only in CFLAGS_ALL_SHARED.
The attached patch fixes that.

Content of type "text/html" skipped

View attachment "don-t-define-SHARED-macro-in-the-source.patch" of type "text/x-patch" (611 bytes)

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ