--- src/Makefile.am.orig	2019-11-20 19:29:37 UTC
+++ src/Makefile.am
@@ -1,6 +1,6 @@
 ## Process this file with automake to produce Makefile.in
 
-AM_CFLAGS = -Wall -O3 $(AVX_CFLAGS)
+AM_CFLAGS = $(AVX_CFLAGS)
 
 SUBDIRS = libnova elp
 
@@ -46,8 +46,7 @@ libnova_la_LIBADD = \
 	lunar-priv.h
 
 libnova_la_LIBADD = \
-	-Lelp/ \
-	-lelp
+	elp/libelp.la
 
 libnova_la_LDFLAGS = \
 	-version-info $(LT_VERSION) \
