kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #21824
Re: [PATCH 2/4] Use CMake function for position independent code
Hi,
> - set( BOOST_CFLAGS "cflags=${PIC_FLAG}" )
> - set( BOOST_CXXFLAGS "cxxflags=${PIC_FLAG}" )
> because cmake will only set -fpic in CFLAGS but the entire cmake file
> uses BOOST_CFLAGS and never passes the plain CFLAGS
The Boost build knows on its own that it needs -fPIC -- except if you
link statically, which has its own issues.
Simon
Attachment:
signature.asc
Description: OpenPGP digital signature
Follow ups
References
-
CMake clean up.
From: Wayne Stambaugh, 2015-11-30
-
[PATCH 1/4] Use CMake high-level facility for visibility
From: Simon Richter, 2015-12-01
-
[PATCH 2/4] Use CMake function for position independent code
From: Simon Richter, 2015-12-01
-
Re: [PATCH 2/4] Use CMake function for position independent code
From: Wayne Stambaugh, 2015-12-08
-
Re: [PATCH 2/4] Use CMake function for position independent code
From: Mark Roszko, 2015-12-08
-
Re: [PATCH 2/4] Use CMake function for position independent code
From: Nick Østergaard, 2015-12-08
-
Re: [PATCH 2/4] Use CMake function for position independent code
From: Wayne Stambaugh, 2015-12-08
-
Re: [PATCH 2/4] Use CMake function for position independent code
From: Simon Richter, 2015-12-09
-
Re: [PATCH 2/4] Use CMake function for position independent code
From: jp charras, 2015-12-09
-
Re: [PATCH 2/4] Use CMake function for position independent code
From: Mark Roszko, 2015-12-10