<html dir="ltr"><head></head><body style="text-align:left; direction:ltr;" bgcolor="#ffffff" text="#2e3436" link="#1b6acb" vlink="#2e3436"><div>Hi Stephan,</div><div><br></div><div>On Tue, 2020-08-04 at 11:59 +0000, Stephan Lachnit wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre>Dear Pascal Packaging Team,</pre><pre><br></pre><pre>I'm currently looking into packaging GOverlay (</pre><a href="https://github.com/benjamimgois/goverlay"><pre>https://github.com/benjamimgois/goverlay</pre></a><pre>).</pre><pre>It is a gaming related tool written with Lazarus.</pre><pre><br></pre><pre>I got a working package, but it don't get the executable to be position independent or enable any fortifications (warnings from lintian). Obviously the debhelper build flags won't help, but I also played around with the project / compile settings in Lazarus and didn't get it to work. Can anyone maybe help me out with this?</pre><pre><br></pre><pre>Code on Salsa: </pre><a href="https://salsa.debian.org/games-team/goverlay"><pre>https://salsa.debian.org/games-team/goverlay</pre></a><pre><br></pre><pre>Package on Mentors: </pre><a href="https://mentors.debian.net/package/goverlay/"><pre><a href="https://mentors.debian.net/package/goverlay/">https://mentors.debian.net/package/goverlay/</a></pre></a></blockquote><div>I'm currently busy uploading FPC 3.2.0 and Lazarus 2.0.10. I just finished to upload a new build to experimental.</div><div>Once this is done, I can have a look at your code and try to help with it.</div><div>However you can already have a look at the Debian compiler options which is passed to fpc as follows:</div><pre>fpc @${DEB_BUILD_FPC_OPT}</pre><pre><br></pre><div>Thi sfile is created by make file as follows:</div><pre>${DEB_BUILD_FPC_OPT}:</pre><pre>   echo '# FPC configuration file for build system tools' > $@</pre><pre>   echo '-k${LDFLAGS}' >> $@</pre><pre>  echo '-Fl/usr/lib/${DEB_BUILD_MULTIARCH}' >> $@</pre><pre><br></pre><pre></pre><div>Please let me know if it works.</div><div><span style="white-space: normal;">-- </span></div><div><div style="white-space: normal;"><span><pre>Abou Al Montacir</pre></span></div></div></body></html>