I want to pass additional compiler options like for ex: lpthread, so I opened the project property dialog of the autotools project created before and moved to Autotools > Configure Settings >
Then in Configure
tree node selected Adanced
tree node. Here I have selected all compiler option checkboxes(line Debug(-g), Gprof support(-pg) etc)
then added CFLAGS="-lpthread"
string in the Additional command-line option