Interesting.

From https://rfc.archlinux.page/0003-buildflags/ Arch uses
`-Wp,-D_FORTIFY_SOURCE=2,-D_GLIBCXX_ASSERTIONS` (so that both flags use
-Wp)

And:
> Move -D_FORTIFY_SOURCE=2 from CPPFLAGS to CFLAGS using -Wp
>
> Unfortunately, there are still build systems which use CFLAGS but not 
> CPPFLAGS.
> Or configure tests that use CPPFLAGS and not CFLAGS which creates errors due 
> to
> fortify source needing optimisation. Ultimately, we can cover more code with
> this workaround.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2016042

Title:
  Please add -D_GLIBCXX_ASSERTIONS to default build flags

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/2016042/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to