Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 #export DH_VERBOSE = 1
3 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
4
5 ifneq (,$(filter m68k powerpc sh4,${DEB_HOST_ARCH}))
6 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81358
7 # on these platforms gcc does not link with -latomic, resulting in
8 # /usr/bin/m68k-linux-gnu-ld.bfd: ./obj-m68k-linux-gnu/../src/rist.c:1189:(.text+0xff8): undefined reference to `__atomic_fetch_add_8'
9 # /usr/bin/m68k-linux-gnu-ld.bfd: ./obj-m68k-linux-gnu/../src/rist.c:1374:(.text+0x2592): undefined reference to `__atomic_load_8'
10 # /usr/bin/m68k-linux-gnu-ld.bfd: ./obj-m68k-linux-gnu/../src/rist-common.c:1011:(.text+0x2310): undefined reference to `__atomic_fetch_add_8'
11 # collect2: error: ld returned 1 exit status
12 # include a workaround for now
13 export DEB_LDFLAGS_MAINT_APPEND += -latomic
14 endif
15
16 %:
17 dh $@
18
19 override_dh_auto_configure:
20 dh_auto_configure -- -Duse_mbedtls=false -Duse_gnutls=true -Duse_nettle=true
21
22 override_dh_auto_test-arch:
23 # must be executed consecutively lest they interfer with each other!
24 # and grant the tests more time which is sorely needed with noisy neighbors
25 dh_auto_test --no-parallel -- --timeout-multiplier 5
26
27 override_dh_installchangelogs:
28 dh_installchangelogs NEWS