Skip to contentSkip to conversation

libselinux/utils: remove unneeded variable in Makefile

PATCH In review Nicolas Iooss 2 participants 3 messages Apr 19, 2020 – Apr 22, 2020 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libselinux/utils: remove unneeded variable in Makefile

LD_SONAME_FLAGS is not used when building libselinux utils.

---
 libselinux/utils/Makefile | 2 --
 1 file changed, 2 deletions(-)
libselinux/utils/Makefile +0 -2
index a5632b7c38ec..b018a08acbe0 100644
@@ -36,8 +36,6 @@ CFLAGS ?= -O -Wall -W -Wundef -Wformat-y2k -Wformat-security -Winit-self -Wmissi
           -Werror -Wno-aggregate-return -Wno-redundant-decls -Wstrict-overflow=5 \
           $(EXTRA_CFLAGS)
 
-LD_SONAME_FLAGS=-soname,$(LIBSO),-z,defs,-z,relro
-
 ifeq ($(OS), Darwin)
 override CFLAGS += -I/opt/local/include -I../../libsepol/include
 override LDFLAGS += -L../../libsepol/src -undefined dynamic_lookup
Signature · 1 line
2.26.0
Acked-by on v1 1/1
#1 lore raw
Quoted 28 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Nicolas Iooss
Sent: Sunday, April 19, 2020 8:59 AM
To: [email protected]
Subject: [PATCH 1/1] libselinux/utils: remove unneeded variable in Makefile

LD_SONAME_FLAGS is not used when building libselinux utils.

---
 libselinux/utils/Makefile | 2 --
 1 file changed, 2 deletions(-)
libselinux/utils/Makefile index renamed from libselinux/utils/Makefile +0 -0

a5632b7c38ec..b018a08acbe0 100644

libselinux/utils/Makefile +0 -0
@@ -36,8 +36,6 @@ CFLAGS ?= -O -Wall -W -Wundef -Wformat-y2k -Wformat-

security -Winit-self -Wmissi
-Werror -Wno-aggregate-return -Wno-redundant-decls -Wstrict-

overflow=5 \
           $(EXTRA_CFLAGS)
libselinux/utils/Makefile +0 -2
-LD_SONAME_FLAGS=-soname,$(LIBSO),-z,defs,-z,relro
-
 ifeq ($(OS), Darwin)
 override CFLAGS += -I/opt/local/include -I../../libsepol/include  override
Quoted 3 lines

LDFLAGS += -L../../libsepol/src -undefined dynamic_lookup --
2.26.0

#2 lore raw
Quoted 34 lines

-----Original Message-----
From: Roberts, William C
Sent: Monday, April 20, 2020 9:26 AM
To: Nicolas Iooss <[email protected]>; [email protected]
Subject: RE: [PATCH 1/1] libselinux/utils: remove unneeded variable in Makefile

Quoted 28 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Nicolas Iooss
Sent: Sunday, April 19, 2020 8:59 AM
To: [email protected]
Subject: [PATCH 1/1] libselinux/utils: remove unneeded variable in Makefile

LD_SONAME_FLAGS is not used when building libselinux utils.

---
 libselinux/utils/Makefile | 2 --
 1 file changed, 2 deletions(-)
libselinux/utils/Makefile +0 -0

index
a5632b7c38ec..b018a08acbe0 100644

libselinux/utils/Makefile +0 -0
@@ -36,8 +36,6 @@ CFLAGS ?= -O -Wall -W -Wundef -Wformat-y2k -Wformat-

security -Winit-self -Wmissi
-Werror -Wno-aggregate-return -Wno-redundant-decls
-Wstrict-

overflow=5 \
           $(EXTRA_CFLAGS)
Quoted 9 lines
Quoted 7 lines
libselinux/utils/Makefile +0 -2
-LD_SONAME_FLAGS=-soname,$(LIBSO),-z,defs,-z,relro
-
 ifeq ($(OS), Darwin)
 override CFLAGS += -I/opt/local/include -I../../libsepol/include

override LDFLAGS += -L../../libsepol/src -undefined dynamic_lookup --
2.26.0

Merged:
https://github.com/SELinuxProject/selinux/pull/223