2010-09-02 Lucas De Marchi <lucas.demarchi@profusion.mobi>
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 3 Sep 2010 05:41:27 +0000 (05:41 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 3 Sep 2010 05:41:27 +0000 (05:41 +0000)
commiteb28b3cf3480bdd8902cb663d71a153916f01d24
treefe16abd76502f333151ea77cfc467f9791bb26d1
parente7f97dca49fac215fbceaf55e37430e30db79de1
2010-09-02  Lucas De Marchi  <lucas.demarchi@profusion.mobi>

        Reviewed by Antonio Gomes.

        [EFL] Fix double addition of -fPIC
        https://bugs.webkit.org/show_bug.cgi?id=45122

         When SHARED_CORE=ON, -fPIC is automatically added because all
         libraries are dynamic. Only when static libraries are built that
         -fPIC needs to be manually inserted (because the final library,
         libewebkit.so, is dynamic).

        * cmake/OptionsCommon.cmake: Remove -fPIC flag.
        * cmake/WebKitHelpers.cmake: Add -fPIC flags iff SHARED_CORE=ON.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@66714 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog
cmake/OptionsCommon.cmake
cmake/WebKitHelpers.cmake