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

Attachment: signature.asc
Description: Digital signature

_______________________________________________
pkg-multimedia-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to