void-packages/srcpkgs/reaver/patches/lwe.makefile.patch

25 lines
702 B
Diff

--- src/lwe/Makefile.orig 2017-01-08 13:59:36.306546961 +0100
+++ src/lwe/Makefile 2017-01-08 14:04:01.681546043 +0100
@@ -8,12 +8,6 @@
PREFIX = /usr/local
endif
-## Compiler to use (modify this for cross compile).
-CC = gcc
-## Other tools you need to modify for cross compile (static lib only).
-AR = ar
-RANLIB = ranlib
-
## Uncomment this to build tools using static version of the library.
## Mostly useful for embedded platforms without ldd, or to create
## a local version (non-root).
@@ -151,7 +145,7 @@
$(STATIC): $(OBJS:.o=.so)
$(RM) $@
$(AR) cru $@ $^
- $(RANLIB) $@
+ $(AR) s $@
# Installation : So crude but so effective ;-)
# Less crude thanks to many contributions ;-)