SELinux Archive on
 help / color / Atom feed
From: Laurent Bigonville <>
To: SElinux list <>
Subject: CFLAGS overridden by distribution build system
Date: Sat, 23 May 2020 12:56:43 +0200
Message-ID: <> (raw)


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 

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


             reply index

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-23 10:56 Laurent Bigonville [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

SELinux Archive on

Archives are clonable:
	git clone --mirror selinux/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 selinux selinux/ \
	public-inbox-index selinux

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone