aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-10-18 19:02:39 +0200
committerMattias Andrée <maandree@kth.se>2017-10-18 19:02:39 +0200
commit982c00ffa9b47a3e7a8875e547f78feff0542d5b (patch)
tree9b59d05420a2a3200befdfbc8f4bc037130d2f7d /Makefile
parentRemove unnessary -r flag in make clean (diff)
downloadlibkeccak-982c00ffa9b47a3e7a8875e547f78feff0542d5b.tar.gz
libkeccak-982c00ffa9b47a3e7a8875e547f78feff0542d5b.tar.bz2
libkeccak-982c00ffa9b47a3e7a8875e547f78feff0542d5b.tar.xz
Fix use of LIBFLAGS
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 80eebc6..1e52078 100644
--- a/Makefile
+++ b/Makefile
@@ -109,7 +109,7 @@ $(OBJ): $(HDR)
$(CC) -fPIC -c -o $@ $< $(CFLAGS) $(CPPFLAGS)
libkeccak.$(LIBEXT): $(OBJ)
- $(CC) -shared -Wl,-soname,libkeccak.$(LIBEXT).$(LIB_MAJOR) -o $@ $^ $(LDFLAGS)
+ $(CC) $(LIBFLAGS) $@ $^ $(LDFLAGS)
libkeccak.a: $(OBJ)
$(AR) rc $@ $?