summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2021-06-23 12:22:03 -0500
committerJohn Estabrook <jestabro@vyos.io>2021-06-23 12:23:01 -0500
commitf84754f9b92bd136ae6fa01b80608d44a13bfff7 (patch)
treeacda8243753c8ea31317b5bdf7005f55cfde351b /src/Makefile.am
parent5d5be0191467ce7b59634af1bfacf50c63ca8fc5 (diff)
downloadipaddrcheck-f84754f9b92bd136ae6fa01b80608d44a13bfff7.tar.gz
ipaddrcheck-f84754f9b92bd136ae6fa01b80608d44a13bfff7.zip
Debian: T3647: revise fix for gcc defaulting to option '--as-needed'
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index ae9c0dc..6098ae5 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,7 +1,7 @@
-AM_CFLAGS = --pedantic -Wall -Werror -std=c99 -O2 -Wl,--no-as-needed
+AM_CFLAGS = --pedantic -Wall -Werror -std=c99 -O2
AM_LDFLAGS =
ipaddrcheck_SOURCES = ipaddrcheck.c ipaddrcheck_functions.c
-ipaddrcheck_LDFLAGS = -lcidr -lpcre
+ipaddrcheck_LDADD = -lcidr -lpcre
bin_PROGRAMS = ipaddrcheck