summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2011-08-11 18:47:17 +0000
committerBart De Schuymer <bdschuym@pandora.be>2011-08-11 18:47:17 +0000
commit0f9c5016cf2bf99baca0393da53adde38203dca7 (patch)
tree103b07caa7f890a30cdf91f364658a4c994f3ab5 /Makefile
parent556a0f4586e5cfa5ecfbb10dd99672a941d94d0a (diff)
downloadebtables-0f9c5016cf2bf99baca0393da53adde38203dca7.tar.gz
ebtables-0f9c5016cf2bf99baca0393da53adde38203dca7.tar.bz2
ebtables-0f9c5016cf2bf99baca0393da53adde38203dca7.zip
respect LDFLAGS (Peter Volkov)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index be52cb8..c890bf6 100644
--- a/Makefile
+++ b/Makefile
@@ -136,7 +136,7 @@ static: extensions/ebt_*.c extensions/ebtable_*.c ebtables.c communication.c ebt
printf "extern void %s();\n" _t_$${arg}_init >> include/ebtables_u.h ; \
done ; \
printf "\n\tpseudomain(argc, argv);\n\treturn 0;\n}\n" >> ebtables-standalone.c ;\
- $(CC) $(CFLAGS) $(PROGSPECS) -o $@ $^ -I$(KERNEL_INCLUDES) -Iinclude ; \
+ $(CC) $(CFLAGS) $(LDFLAGS) $(PROGSPECS) -o $@ $^ -I$(KERNEL_INCLUDES) -Iinclude ; \
for arg in $(EXT_FUNC) \
; do \
sed "s/ .*_init/ _init/" extensions/ebt_$${arg}.c > extensions/ebt_$${arg}.c_ ; \