summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2016-05-18 23:51:16 +0000
committerIngo Schwarze <schwarze@openbsd.org>2016-05-18 23:51:16 +0000
commit4d8a52d4066027eb5dd03bbb35164ec6cf9906db (patch)
treea7e342187dca9166a6ed98b40e08341876ccc1a9 /Makefile
parent5adb984415e684164a7b45cb9413ef2644e149e7 (diff)
downloadmandoc-4d8a52d4066027eb5dd03bbb35164ec6cf9906db.tar.gz
Delete useless variables that could sneak into the Makefile
behind the user's back, dangerously bypassing ./configure. Leakage reported by Peter Bray <pdb_ml at yahoo dot com dot au>.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 0d5dcf01..d5030cd7 100644
--- a/Makefile
+++ b/Makefile
@@ -406,22 +406,22 @@ Makefile.local config.h: configure ${TESTSRCS}
@exit 1
libmandoc.a: $(COMPAT_OBJS) $(LIBMANDOC_OBJS)
- $(AR) rs $@ $(COMPAT_OBJS) $(LIBMANDOC_OBJS)
+ ar rs $@ $(COMPAT_OBJS) $(LIBMANDOC_OBJS)
mandoc: $(MAIN_OBJS) libmandoc.a
- $(CC) $(LDFLAGS) -o $@ $(MAIN_OBJS) libmandoc.a $(LDADD)
+ $(CC) -o $@ $(MAIN_OBJS) libmandoc.a $(LDADD)
manpage: $(MANPAGE_OBJS) libmandoc.a
- $(CC) $(LDFLAGS) -o $@ $(MANPAGE_OBJS) libmandoc.a $(LDADD)
+ $(CC) -o $@ $(MANPAGE_OBJS) libmandoc.a $(LDADD)
man.cgi: $(CGI_OBJS) libmandoc.a
- $(CC) $(LDFLAGS) $(STATIC) -o $@ $(CGI_OBJS) libmandoc.a $(LDADD)
+ $(CC) $(STATIC) -o $@ $(CGI_OBJS) libmandoc.a $(LDADD)
demandoc: $(DEMANDOC_OBJS) libmandoc.a
- $(CC) $(LDFLAGS) -o $@ $(DEMANDOC_OBJS) libmandoc.a $(LDADD)
+ $(CC) -o $@ $(DEMANDOC_OBJS) libmandoc.a $(LDADD)
soelim: $(SOELIM_OBJS)
- $(CC) $(LDFLAGS) -o $@ $(SOELIM_OBJS)
+ $(CC) -o $@ $(SOELIM_OBJS)
# --- maintainer targets ---