mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
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:
parent
121b80a227
commit
9b541f922f
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user