]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Added -fpic to libbdevid.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 28 Mar 2009 22:09:48 +0000 (23:09 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 28 Mar 2009 22:09:48 +0000 (23:09 +0100)
lfs/libbdevid

index 46190df9465919a4bd5594f0309c314bad0fe21e..05d05535473797ef94875cc3ea8e8ebeb1fc42b2 100644 (file)
@@ -74,6 +74,7 @@ $(objects):
 $(OBJECT): $(objects)
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && sed -e "s/^CFLAGS += -Iinclude/CFLAGS = $(CFLAGS) -fpic -Iinclude/g" -i Makefile
        cd $(DIR_APP) && export VER=0.1; make install
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)