selinux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* CFLAGS overridden by distribution build system
@ 2020-05-23 10:56 Laurent Bigonville
  2020-05-23 15:59 ` William Roberts
  0 siblings, 1 reply; 16+ messages in thread
From: Laurent Bigonville @ 2020-05-23 10:56 UTC (permalink / raw)
  To: SElinux list

Hello,

The current build system of the userspace is setting a lot of CFLAGS, 
but most of these are overridden by the distributions when building.

Today I received a bug report[0] from Christian Göttsche asking me to 
set -fno-semantic-interposition again in libsepol. I see also the same 
flag and also a lot of others set in libselinux and libsemanage build 
system.

For what I understand some of these are just needed for code quality 
(-W) and could be controlled by distributions but others might actually 
need to be always set (-f?).

Shouldn't the flags that always need to be set (which ones?) be moved to 
a "override CFLAGS" directive to avoid these to be unset by distributions?

Kind regards,

Laurent Bigonville

[0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=961329


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2020-06-09 11:57 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-23 10:56 CFLAGS overridden by distribution build system Laurent Bigonville
2020-05-23 15:59 ` William Roberts
2020-05-29 13:31   ` Stephen Smalley
2020-05-29 16:04     ` William Roberts
2020-05-29 16:40       ` Stephen Smalley
2020-05-29 17:15         ` William Roberts
2020-05-29 18:18           ` Stephen Smalley
2020-05-29 20:59             ` William Roberts
2020-06-01  9:34               ` Petr Lautrbach
2020-06-02 18:55                 ` [PATCH] README: start a section for documenting CFLAGS bill.c.roberts
2020-06-04 19:03                   ` Stephen Smalley
2020-06-08 15:37                     ` [PATCH v2] " bill.c.roberts
2020-06-08 16:21                       ` Stephen Smalley
2020-06-08 22:34                         ` William Roberts
2020-06-08 22:38                         ` [PATCH v3] " bill.c.roberts
2020-06-09 11:57                           ` Stephen Smalley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).