summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 06:07:46 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 06:07:46 +0000
commit022523c860eedd39f977357524d4ff17953b6d0a (patch)
treea0abc547cc60016c0c410a05f544499936c2aa12 /debian/rules
parentAdding debian version 10.0-0.1. (diff)
downloadfrr-022523c860eedd39f977357524d4ff17953b6d0a.tar.xz
frr-022523c860eedd39f977357524d4ff17953b6d0a.zip
Adding debian version 10.0-0.2.debian/10.0-0.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index d35ee12..d18f144 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,10 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+ifneq (,$(filter $(DEB_HOST_ARCH), armel m68k mipsel powerpc sh4))
+ export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic -Wl,--as-needed
+endif
+
ifneq (,$(filter terse,$(DEB_BUILD_OPTIONS)))
MAKE_SILENT="V=0"
export DH_VERBOSE=0