lvm2: fix m68k build error
authorWaldemar Brodkorb <wbx@openadk.org>
Sun, 3 Jul 2016 16:56:17 +0000 (18:56 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 3 Jul 2016 18:09:21 +0000 (20:09 +0200)
Disable PIE for m68k as it is not supported.

Fixes following autobuild failures:
http://autobuild.buildroot.net/results/2f976292ddbb8eddb58cc978f209f4f445b5b756/
http://autobuild.buildroot.net/results/7a2b1eef06004886be28744bf1c53d027f8d0123/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/lvm2/lvm2.mk

index 62cc4e2e2c437c568da28a65edefce31e2257f33..7e66aa24e4e21246194641fd1a178ad9d697f729 100644 (file)
@@ -43,7 +43,7 @@ else
 LVM2_CONF_OPTS += --disable-applib
 endif
 
-ifeq ($(BR2_arc),y)
+ifeq ($(BR2_arc)$(BR2_m68k),y)
 LVM2_CONF_ENV += ac_cv_flag_HAVE_PIE=no
 endif