Please review my package

Jonas Smedegaard dr at jones.dk
Thu Jul 5 15:50:33 UTC 2012


On 12-07-05 at 03:49pm, wbrana wrote:
> I added following compiler flags, but it didn't help. Do you know how 
> to fix it?
> 
>         cxxflags+='-fstack-protector --param=ssp-buffer-size=4
> -Wformat -Werror=format-security'
>         ldflags+='-Wl,-z,relro'
>         cppflags+='-D_FORTIFY_SOURCE=2'

It looks like you are mixing make and shell syntax above.

Depending on the context, strings shouldn't be quoted, or "=" should be 
used instead of "+=".

Also, more juggling may be necessary to get the build framework to use 
the compile flags you pass it.  Inspect the build log to see what build 
flags are actually passed on to gcc, g++ and cpp.

If build flags are hidden in build logs, then you need to juggle with 
other flags to tell the build framework to not be so silent: Generally 
Debian builds should be noisy!


Hope that helps,

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20120705/8452800a/attachment-0001.pgp>


More information about the pkg-multimedia-maintainers mailing list