[packages/mad-pascal] - added debuginfo flags for fpc
qboosh
qboosh at pld-linux.org
Sat Apr 11 18:46:25 CEST 2026
commit 079987a0ef0cec0719f885831e6755c8f8ef7cd3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Apr 11 18:46:56 2026 +0200
- added debuginfo flags for fpc
mad-pascal.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/mad-pascal.spec b/mad-pascal.spec
index f0ad36d..b3adb12 100644
--- a/mad-pascal.spec
+++ b/mad-pascal.spec
@@ -31,6 +31,10 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define archopt -OpPENTIUM4
%endif
+%if 0%{?_enable_debug_packages}
+%define debugopt -g -gw
+%endif
+
%description
Mad-Pascal (MP) is a 32-bit Turbo Pascal compiler for Atari 8-Bit and
other MOS 6502 CPU-based computers. By design, it is compatible with
@@ -70,7 +74,7 @@ Przykładowy kod dla Mad Pascal.
%build
cd origin
-fpc -Mdelphi -vh -O3 %{?archopt} mp.pas
+fpc -Mdelphi -vh -O3 %{?archopt} %{?debugopt} mp.pas
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mad-pascal.git/commitdiff/079987a0ef0cec0719f885831e6755c8f8ef7cd3
More information about the pld-cvs-commit
mailing list