diff --git a/srcpkgs/hashcat/patches/musl.patch b/srcpkgs/hashcat/patches/musl.patch index c80a696c7d0..826fccf5797 100644 --- a/srcpkgs/hashcat/patches/musl.patch +++ b/srcpkgs/hashcat/patches/musl.patch @@ -15,7 +15,7 @@ index 8c9c951..c2b53ed 100644 #include #include -+#define termios termio ++#define termio termios #endif #endif diff --git a/srcpkgs/hashcat/template b/srcpkgs/hashcat/template index 9318fff1de8..b4353035b14 100644 --- a/srcpkgs/hashcat/template +++ b/srcpkgs/hashcat/template @@ -11,8 +11,13 @@ distfiles="https://github.com/hashcat/hashcat/archive/${version}.tar.gz" checksum=6325e6d75a4df3485adec00f74e5887326809c15ed31bfe74a12b62943245444 only_for_archs="x86_64 i686 x86_64-musl i686-musl" +case "$XBPS_TARGET_MACHINE" in + i686*) nopie=yes;; +esac + do_build() { - CFLAGS+=" -Iinclude/ -fomit-frame-pointer -funroll-loops -s" + + CFLAGS+=" -Iinclude/ -fomit-frame-pointer -funroll-loops" case "$XBPS_TARGET_MACHINE" in x86_64*) target="posix64" ;; i686*) target="posix32" ;;