On 12/19/14, René Rebe <[email protected]> wrote:
> You can try something like:
>
> var_append GCC_WRAPPER_APPEND ‘ ‘ ‘-O2’
>
> or disable the wrapper altogether for this package:
>
> GCC_WRAPPER_BYPASS=1
>
>

Rene,
This works:

runconf=0

GCC_WRAPPER_BYPASS=1

hardinfo_build2()
{
 mkdir build
 cd build
 cmake .. -DCMAKE_INSTALL_PREFIX=/usr
 make
 make install
}
custmain=hardinfo_build2

I couldn't figure out how to do it with hooks.

How would I do the change dir into 'build', and execute cmake with the ".."?

The main problem for me is I am unfamiliar with cmake, and from the
docs the hooks don't seem to work with cmake(?)

In other words, if you had to rewrite what I have done in the
recommended way, with hooks, how would you do it?

Regards,
Barry

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to