summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-04 18:04:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-04 18:04:31 +0000
commit575e07c3410cc3fe79644bcafc8c0aa54ebb185d (patch)
treed46914f1d1f74673988ffceb32f33a3870428c6c /debian/rules
parentReleasing progress-linux version 7.94+git20230807.3be01efb1+dfsg-3~progress7.... (diff)
downloadnmap-575e07c3410cc3fe79644bcafc8c0aa54ebb185d.tar.xz
nmap-575e07c3410cc3fe79644bcafc8c0aa54ebb185d.zip
Merging debian version 7.94+git20230807.3be01efb1+dfsg-4.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-xdebian/rules4
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 3b85558..a0c09b4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,13 +22,15 @@ override_dh_auto_configure:
dh_auto_configure --sourcedir=ndiff --buildsystem=pybuild
dh_auto_configure --sourcedir=zenmap --buildsystem=pybuild
+mingw_CFLAGS = $(filter-out -mbranch-protection=standard,$(CFLAGS))
+
override_dh_auto_build-indep:
dh_auto_build
dh_auto_build --sourcedir=ndiff --buildsystem=pybuild
dh_auto_build --sourcedir=zenmap --buildsystem=pybuild
cd nselib/data/jdwp-class && /usr/lib/jvm/default-java/bin/javac *.java
cd nselib/data/psexec && \
- i686-w64-mingw32-gcc ${CPPFLAGS} ${CFLAGS} -o nmap_service.exe nmap_service.c && \
+ i686-w64-mingw32-gcc ${CPPFLAGS} ${mingw_CFLAGS} -o nmap_service.exe nmap_service.c && \
gzip -c -n9 nmap_service.exe | base64 | tac > nmap_service.ex_
override_dh_auto_test: