Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] main/py-gobject: fix build

From: Natanael Copa <ncopa_at_alpinelinux.org>
Date: Wed, 11 Nov 2015 09:27:10 +0100

On Tue, 10 Nov 2015 21:56:48 +0100
Christian Kampka <christian_at_kampka.net> wrote:

> ---
> main/py-gobject/APKBUILD | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/main/py-gobject/APKBUILD b/main/py-gobject/APKBUILD
> index aee2c2d..ddabdcb 100644
> --- a/main/py-gobject/APKBUILD
> +++ b/main/py-gobject/APKBUILD
> _at_@ -31,7 +31,7 @@ build() {
> --infodir=/usr/share/info \
> --disable-introspection \
> || return 1
> - make || return 1
> + make CFLAGS="$CFLAGS -U_FORTIFY_SOURCE" || return 1
> }
>
> package() {

I applied this but later realized that a better fix would be to set
-D_GNU_SOURCE so we don't lose fortify.


-nc


---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Wed Nov 11 2015 - 09:27:10 GMT