summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Beckmann <anbe@debian.org>2014-05-23 15:48:11 +0200
committerAndreas Beckmann <anbe@debian.org>2014-05-23 15:48:11 +0200
commitaf64a788677eac2cac5d1182ade187cad03126c3 (patch)
tree7821b797d5279ea90e3f95097daab03c983a50c5
parent413b5efd6d9b2970c1b40277b0e1bf9d706c3433 (diff)
downloadsendmail-af64a788677eac2cac5d1182ade187cad03126c3.tar.gz
use the sendmail build system to build libmilter.so.*
-rwxr-xr-xdebian/rules8
1 files changed, 0 insertions, 8 deletions
diff --git a/debian/rules b/debian/rules
index bc772fb..a48744d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,7 +30,6 @@ CXXFLAGS := $(shell $(dpkg_buildflags) --get CXXFLAGS)
CPPFLAGS := $(shell $(dpkg_buildflags) --get CPPFLAGS)
LDFLAGS := $(shell $(dpkg_buildflags) --get LDFLAGS)
LDFLAGS += -Wl,-z,noexecstack -Wl,--warn-shared-textrel
-MY_LDFLAGS := $(LDFLAGS)
LDFLAGS += -fpie
export CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
@@ -328,13 +327,6 @@ common-build-arch::
(cd ${DEB_SRCDIR}/$${subdir} && ./Build -S;); \
fi; \
done;
- (cd ${DEB_SRCDIR}/obj*/libmilter && \
- gcc -shared -pthread \
- -o libmilter.so.${sm_libmilter_version} \
- -fPIC ${CFLAGS} \
- -Wl,-soname,libmilter.so.${sm_libmilter_version} \
- ${MY_LDFLAGS} \
- *.o;); \
# Debian stuff
(cd debian && $(MAKE) -f Makefile build-arch;)
# Remove our config m4 files