2012-06-21 09:45:50

by Stefan Seyfried

[permalink] [raw]
Subject: [PATCH] build: fix MISC_LDFLAGS typo to fix "--enable-pie"

Hi all,

draconic rules in the openSUSE buildservice found, that executables are
no longer linked with "-pie" and complained about it.

As it turned out, it's a simple typo in acinclude.m4, trivial patch is
attached.

Best regards,

Stefan
--
Stefan Seyfried

"Dispatch war rocket Ajax to bring back his body!"


Attachments:
0001-build-fix-MISC_LDFLAGS-typo-to-fix-enable-pie.patch (747.00 B)

2012-06-21 15:11:14

by Johan Hedberg

[permalink] [raw]
Subject: Re: [PATCH] build: fix MISC_LDFLAGS typo to fix "--enable-pie"

Hi Stefan,

On Thu, Jun 21, 2012, Stefan Seyfried wrote:
> From: Stefan Seyfried <[email protected]>
> Date: Thu, 21 Jun 2012 11:28:47 +0200
> Subject: [PATCH] build: fix MISC_LDFLAGS typo to fix "--enable-pie"
>
> ---
> acinclude.m4 | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/acinclude.m4 b/acinclude.m4
> index 6505ad3..1d6d736 100644
> --- a/acinclude.m4
> +++ b/acinclude.m4
> @@ -360,7 +360,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [
> fi
>
> AC_SUBST([MISC_CFLAGS], $misc_cflags)
> - AC_SUBST([MISC_LDLAGS], $misc_ldlags)
> + AC_SUBST([MISC_LDFLAGS], $misc_ldflags)
>
> if (test "${usb_enable}" = "yes" && test "${usb_found}" = "yes"); then
> AC_DEFINE(HAVE_LIBUSB, 1, [Define to 1 if you have USB library.])

Applied. Thanks.

Johan