View Single Post

   
  #5 (permalink)  
Old 04-11-2008, 01:53 AM
clifto
 
Posts: n/a
Default Re: Appending switches to CXXFLAGS in an ebuild

Nikos Chantziaras wrote:
> I want to append switches to CXXFLAGS but not in CFLAGS. This:
>
> append-flags "-fno-strict-aliasing -fno-rtti -fno-exceptions"
>
> will append those switches to both CFLAGS as well as CXXFLAGS, which I
> don't want. Any solution?


# X="abcde" ; echo $X ; X=$X"fghij" ; echo $X
abcde
abcdefghij


--
"Theoretically, there is nothing that can stop the government from taxing 100%
of income so long as the people get benefits from the government commensurate
with their income which is taxed." -- Barack Obama
Reply With Quote