The “correct” way is probably to include these options in your Makefile.
But if you call the compiler manually, you can set the arguments by right-clicking on the project, selecting "Properties", selecting the entry "C / C ++ Build" in the menu on the left and editing the text field "Build Command".
, , "Build Variables" "C/++ Build" CFLAGS/CPPFLAGS. .