[2/2] linux: Don't reset CFLAGS/CXXFLAGS

Message ID 20240819101048.991691-3-michael.tremer@ipfire.org
State Staged
Commit 691d149aa11439f092704a8c5eb920f15a3b9ddb
Headers
Series [1/2] linux: Tidy up the messy KVER variable |

Commit Message

Michael Tremer Aug. 19, 2024, 10:10 a.m. UTC
  The kernel's build system uses its own CFLAGS for building the kernel
but for the tooling we want to use our own CFLAGS.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 lfs/linux | 2 --
 1 file changed, 2 deletions(-)
  

Patch

diff --git a/lfs/linux b/lfs/linux
index f57ddc883..80743d3e6 100644
--- a/lfs/linux
+++ b/lfs/linux
@@ -30,8 +30,6 @@  THISAPP    = linux-$(VER)
 DL_FILE    = linux-$(VER).tar.xz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
-CFLAGS     =
-CXXFLAGS   =
 
 HEADERS_ARCH  = $(BUILD_PLATFORM)
 KERNEL_ARCH   = $(BUILD_ARCH)