mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
common.mak: Remove NO_PIE_CFLAGS
The definition NO_PIE_CFLAGS has only two users and specifies only a single compiler flag. There is no point having this definition anymore. Remove the definition and specify -fno-pie directly for the two users. Reviewed-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ ifeq ($(HOST_ARCH),s390x)
|
||||
INCLUDE_PATHS := $(rootdir)/zipl/include $(rootdir)/include
|
||||
INCLUDE_PARMS := $(addprefix -I,$(INCLUDE_PATHS))
|
||||
|
||||
ALL_CFLAGS = $(NO_PIE_CFLAGS) -Os -g $(INCLUDE_PARMS) \
|
||||
ALL_CFLAGS = -fno-pie -Os -g $(INCLUDE_PARMS) \
|
||||
-DS390_TOOLS_RELEASE=$(S390_TOOLS_RELEASE) \
|
||||
-fno-builtin -ffreestanding -fno-asynchronous-unwind-tables \
|
||||
-fno-delete-null-pointer-checks -fno-stack-protector \
|
||||
|
||||
Reference in New Issue
Block a user