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:
Jan Höppner
2025-10-15 13:11:00 +02:00
parent e6ac87d7a2
commit 76a0401deb
3 changed files with 2 additions and 4 deletions

View File

@@ -340,8 +340,6 @@ endif
export INSTALL CFLAGS CXXFLAGS \
LDFLAGS CPPFLAGS ALL_CFLAGS ALL_CXXFLAGS ALL_LDFLAGS ALL_CPPFLAGS
NO_PIE_CFLAGS := -fno-pie
# Overwrite implicit makefile rules for having nice compile output
%.o: %.c
ifeq ("${C}","1")