]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Fixed ccache, distcc due to changes in last commit.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 5 Apr 2009 19:26:21 +0000 (21:26 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 5 Apr 2009 19:26:21 +0000 (21:26 +0200)
lfs/ccache
lfs/distcc

index bfc3c744398b69ffc2830cb73e766d66cf8f2634..79421740402da4af5527a1a2fc8c8912db9da240 100644 (file)
@@ -52,7 +52,7 @@ define LONG_DESC
 endef
 
 PREFIX     = $(TOOLS_DIR)/usr
-CFLAGS    += -static
+CFLAGS    := $(subst -fPIC,,$(CFLAGS)) -static
 
 ###############################################################################
 # Top-level Rules
index 229aa6648d95a432e2913c025950417c12b0fb34..11e75c5c39cc577e2af402df15f968fcf5d5883b 100644 (file)
@@ -52,7 +52,7 @@ define LONG_DESC
 endef
 
 PREFIX     = $(TOOLS_DIR)/usr
-CFLAGS    += -static
+CFLAGS    := $(subst -fPIC,,$(CFLAGS)) -static
 
 ###############################################################################
 # Top-level Rules
@@ -92,6 +92,5 @@ $(OBJECT): $(objects)
        cd $(DIR_APP) && make $(PARALLELISMFLAGS) \
                distcc distccd distccmon-text lsdistcc
        cd $(DIR_APP) && make install-programs
-
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)