< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate-users] Large shared object files for Android build?


That sounds good. Callers can set "-g" for debug builds.


On Tue Jun  3 09:24:40 2014, Daniel Pocock wrote:


On 03/06/14 18:19, Brien Colwell wrote:
If I remember correctly, configure will still insert the default "-g
-O2" when the the flag is in CPPFLAGS. Putting it in CXXFLAGS will cause
configure to not insert its default.

Ok, so we can just insert an extra line like this immediately after the
CPPFLAGS line:

    export CXXFLAGS="${CXXFLAGS} -Os"

Do you believe that is OK for you?  Doing it this way should allow
additional CXXFLAGS values to be provided from the command line.