[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] stdbuf: enforce -fPIC compilation for stdbuf.so, required by
From: |
Bernhard Voelker |
Subject: |
Re: [PATCH] stdbuf: enforce -fPIC compilation for stdbuf.so, required by gcc-5.0 |
Date: |
Thu, 26 Mar 2015 14:56:24 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
On 03/26/2015 09:19 AM, Pádraig Brady wrote:
-src_libstdbuf_so_CFLAGS = -fPIC $(AM_CFLAGS)
+src_libstdbuf_so_CFLAGS = $(AM_CFLAGS) -fno-pie -fPIC
It turned out to be a downstream issue, where another odd patch
added -fpie globally to AM_CFLAGS. Now, -fpie also enabled -fno-PIC
for compiling to src_libstdbuf_so-libstdbuf.o, the more strict
gcc-5.0 complained about missing -fPIC.
Thus forget about this patch.
Have a nice day,
Berny