From: Simon Stelling Date: Wed, 15 Mar 2006 20:22:33 +0000 (+0000) Subject: add lowercase -fpic to the list of evil CFLAGS X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=17bb723a59c7b76a6e3829abcb246eec788a4117;p=gentoo.git add lowercase -fpic to the list of evil CFLAGS --- diff --git a/profiles/default-linux/amd64/profile.bashrc b/profiles/default-linux/amd64/profile.bashrc index 6c69a137d2ba..fdcd9971eb1f 100644 --- a/profiles/default-linux/amd64/profile.bashrc +++ b/profiles/default-linux/amd64/profile.bashrc @@ -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