Drop no longer used variables TARGET_ARCH and DEB_SRCDIR
authorIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
Thu, 16 Dec 2021 10:23:45 +0000 (11:23 +0100)
committerIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
Thu, 16 Dec 2021 10:23:45 +0000 (11:23 +0100)
TARGET_ARCH: obviously upstream no longer adds "-march=native"
DEB_SRCDIR: obsolete since we switched to cmake

debian/rules

index 958dc15d0181616c75a34f3db06492bfee966b47..379b001f31dfe960f826e74f2d8691f85fed3cc6 100755 (executable)
@@ -7,11 +7,6 @@ DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/default.mk
 include /usr/share/dpkg/buildtools.mk
 
-## export dummy TARGET_ARCH that doesn't do much,
-## but disables "-march=native" optimization
-export TARGET_ARCH=-Wl,--as-needed
-
-DEB_SRCDIR=extras/Projucer/Builds/LinuxMakefile
 DEBIAN_BUILD_ARTIFACTS = debian/artifacts
 
 DEB_COPYRIGHT_CHECK_IGNORE_REGEX = \
@@ -83,7 +78,6 @@ override_dh_installchangelogs:
 execute_after_dh_clean:
        make -C docs/doxygen/ clean
        make -C debian/extra/lv2-ttl-generator/ clean
-       rm -rf build $(DEB_SRCDIR)/build
        rm -f $(DEBIAN_BUILD_ARTIFACTS)/*