On Tue, May 14, 2013 at 10:56 AM, Mathieu Malaterre <[email protected]> wrote:
> Does anyone know how to activate hardening flags in dh_nativejava ?
>
> I tried:
>
> $ cat debian/rules
> [...]
> AOT_GCJFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
> AOT_LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)

For reference this actually works, simply do:

export AOT_GCJFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
export AOT_LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)

Also see #708375 for a JFLAGS equivalent to CFLAGS (without -Wformat).

2cts


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/CA+7wUszZ+4xHtVUe-r-404wjSztZgZ2UxVW-cU_9pmxEP=p...@mail.gmail.com

Reply via email to