fix warning on possibly(?) unused precompiled headers due to different -fPic settings on pch creation and use

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19467 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Christian Ridderström 2007-08-12 18:39:06 +00:00
parent 121b80a227
commit 9b541f922f

View File

@ -20,7 +20,7 @@ $(PCH_FILE): $(PCH_SOURCE)
$(MAKE) PCH_FLAGS= pch-file
pch-file:
$(CXXCOMPILE) -x c++-header $(PCH_SOURCE) -o $(PCH_FILE) \
$(CXXCOMPILE) -x c++-header -fPIC -DPIC $(PCH_SOURCE) -o $(PCH_FILE) \
-MT $(PCH_FILE) -MD -MP -MF "./$(PCH_FILE).Tdep" \
&& mv "./$(PCH_FILE).Tdep" "./$(PCH_FILE).dep" \
|| rm "./$(PCH_FILE).Tdep"