How to pass defines to make command

Hello.

I would like to print out PX4_DEBUG() messages to the console during debugging, and it seems that it will happen if DEBUG_BUILD is defined. How can I define this from the make-command? I tried make CXXFLAGS=-DDEBUG_BUILD posix_sitl_default jmavsim, but it did not seem to work.

Anyone got an idea?