How to pass compiler arguments

I'm trying to pass arguments when compiling Linux kernel and a package, but I dont't know how to do it.