cifs-utils: disable PIE for m68k
authorWaldemar Brodkorb <wbx@openadk.org>
Thu, 7 Jul 2016 17:46:53 +0000 (19:46 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 7 Jul 2016 20:12:49 +0000 (22:12 +0200)
PIE is not supported for uClibc-ng/m68k.

Fixes following autobuild failure:
http://autobuild.buildroot.net/results/4246de0280d4e7f8765adefd379c9dd414c316f1/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/cifs-utils/cifs-utils.mk

index 9d4e22374bc266fcb2feeb4386a92593b3e8fb62..c90a504103d0e023b30c876179e8d723d30870c0 100644 (file)
@@ -10,7 +10,7 @@ CIFS_UTILS_SITE = http://ftp.samba.org/pub/linux-cifs/cifs-utils
 CIFS_UTILS_LICENSE = GPLv3+
 CIFS_UTILS_LICENSE_FILES = COPYING
 
-ifeq ($(BR2_STATIC_LIBS),y)
+ifneq ($(BR2_STATIC_LIBS)$(BR2_m68k),)
 CIFS_UTILS_CONF_OPTS += --disable-pie
 endif