]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Fixed compiling of kernel scripts.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 14 Jun 2009 10:58:35 +0000 (12:58 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 14 Jun 2009 10:58:35 +0000 (12:58 +0200)
lfs/linux

index 0db45694e05ed2a1e19a3e8bf0bbf310535a7965..7656635a54b38f399a6acd13b4d30481b36f44eb 100644 (file)
--- a/lfs/linux
+++ b/lfs/linux
@@ -123,6 +123,8 @@ $(OBJECT): $(objects)
        rm -f $(DIR_APP)/localversion-grsec
 
        cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-disable-compat_vdso-1.patch
+       
+       cd $(DIR_APP) && sed -e "s/^HOSTCFLAGS.*=.*/& -fPIC/g" -i Makefile
 
 ifeq "$(STAGE)" "toolchain"
        install -dv $(TOOLS_DIR)/include