add lowercase -fpic to the list of evil CFLAGS
authorSimon Stelling <blubb@gentoo.org>
Wed, 15 Mar 2006 20:22:33 +0000 (20:22 +0000)
committerSimon Stelling <blubb@gentoo.org>
Wed, 15 Mar 2006 20:22:33 +0000 (20:22 +0000)
profiles/default-linux/amd64/profile.bashrc

index 6c69a137d2bad444c51d35593b254ef6fe34d6a6..fdcd9971eb1fb2eef58908299f352337cb0b7004 100644 (file)
@@ -52,7 +52,7 @@ if [[ ${EBUILD_PHASE} == "setup" ]]; then
                        CXXFLAGS=${CXXFLAGS//${broken_flag}}
                fi
        done
-       for flag in "-fvisibility=hidden" "-fvisibility-hidden" "-fvisibility-inline-hidden" "-fPIC" "-m32" "-m64" "-g3" "-ggdb3" ; do
+       for flag in "-fvisibility=hidden" "-fvisibility-hidden" "-fvisibility-inline-hidden" "-fPIC" "-fpic" "-m32" "-m64" "-g3" "-ggdb3" ; do
                hasme ${flag} ${CFLAGS} ${CXXFLAGS} && trigger=1 && \
                ewarn "Your C(XX)FLAGS contain(s) \"${flag}\" which can break packages."
        done