From: Michael Tremer Date: Sat, 28 Mar 2009 22:09:48 +0000 (+0100) Subject: Added -fpic to libbdevid. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=344e462e4aea335920d98702bb59d84ee26273ae;p=ipfire-3.x.git Added -fpic to libbdevid. --- diff --git a/lfs/libbdevid b/lfs/libbdevid index 46190df94..05d055354 100644 --- a/lfs/libbdevid +++ b/lfs/libbdevid @@ -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)