Signed-off-by: Stefan Schantl stefan.schantl@ipfire.org --- kernel/kernel.nm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/kernel/kernel.nm b/kernel/kernel.nm index 62c23132b..9b340f8b3 100644 --- a/kernel/kernel.nm +++ b/kernel/kernel.nm @@ -5,7 +5,7 @@
name = kernel version = 6.2 -release = 1.2 +release = 2 thisapp = linux-%{version}
maintainer = Arne Fitzenreiter arne.fitzenreiter@ipfire.org @@ -75,7 +75,9 @@ build sed -e "/^COLORIZE_PLUGIN_CFLAGS/d" \ -i Makefile
- sed -e "s/$(HOST_LFS_CFLAGS)/& -fPIC/g" -i Makefile + # Use our linker flags while building the compiler plugins. + sed -i '/^plugin_ldflags\s+=/ s/$/ %{LDFLAGS}/' \ + scripts/gcc-plugins/Makefile
# Get rid of unwanted files resulting from patch fuzz. find . ( -name "*.orig" -o -name "*~" ) -exec rm -f {} ; >/dev/null