build: fix MISC_LDFLAGS typo to fix "--enable-pie"
PATCH 1/1 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
Signature · 3 lines
Stefan Seyfried "Dispatch war rocket Ajax to bring back his body!"
Quoted 1 line
From
74cabe5148e7618544ec25f1385aa48454a0ee60Mon Sep 17 00:00:00 2001
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(-)
acinclude.m4 +1 -1
@@ -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.])
Signature · 1 line
1.7.10.4
Johan Hedberg
AppliedHi Stefan,
Quoted 13 lines · Stefan Seyfried
From: Stefan Seyfried <[email protected]>
Date: Thu, 21 Jun 2012 11:28:47 +0200
Subject: [PATCH] build: fixMISC_LDFLAGStypo to fix "--enable-pie"--- acinclude.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)acinclude.m4 +0
-0
acinclude.m4 AC_DEFUN([AC_ARG_BLUEZ], [ · line 366
Quoted 8 lines
acinclude.m4 +1
-1@@ -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