From 9926814cafce85bfc28f68c4eb9495f3b25890bb Mon Sep 17 00:00:00 2001 From: Kimpe Andy Date: Thu, 1 Feb 2024 21:03:40 +0100 Subject: [PATCH] Update rules --- debian/rules | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index 77deaf9b8..a984bb47c 100644 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,23 @@ #!/usr/bin/make -f +LDFLAGS="" +export LDFLAGS +CFLAGS="" +export CFLAGS +FFLAGS="" +export FFLAGS +FCFLAGS="" +export FCFLAGS +DEB_CFLAGS_SET="" +export DEB_CFLAGS_SET +DEB_CXXFLAGS_SET="" +export DEB_CXXFLAGS_SET +DEB_FFLAGS_SET="" +export DEB_FFLAGS_SET +DEB_FCFLAGS_SET="" +export DEB_FCFLAGS_SET +DEB_LDFLAGS_SET="" +export DEB_LDFLAGS_SET -LDFLAGS+=-Wl,-z,defs -Wl,--as-needed -#export LDFLAGS %: dh $@ --buildsystem=meson --sourcedir=desmume/src/frontend/posix --builddir=desmume/src/frontend/posix/build