Date: Wednesday, August 2, 2017 @ 07:50:49
  Author: bpiotrowski
Revision: 301528

use architecture-specific options instead of bash hackery

Modified:
  syslinux/trunk/PKGBUILD

----------+
 PKGBUILD |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-08-02 06:18:48 UTC (rev 301527)
+++ PKGBUILD    2017-08-02 07:50:49 UTC (rev 301528)
@@ -17,10 +17,7 @@
 # efi32/com32 do not like Arch cflags/ldflags, though it would be nice to have 
the flags for userspace tools
 options=(!makeflags !buildflags)
 makedepends=(git python2 nasm upx asciidoc)
-if [[ "$CARCH" == x86_64 ]]; then
-  # efi32 needs it
-  makedepends+=(lib32-glibc)
-fi
+makedepends_x86_64=(lib32-glibc) # efi32 needs it
 optdepends=('perl-crypt-passwdmd5: For md5pass'
             'perl-digest-sha1:     For sha1pass'
             'mtools:               For mkdiskimage and syslinux support'

Reply via email to