See here,
You also have to specify the name of the map file in the build flags arguments.
Running it with -Wl,-Map,output.map
gave me the output map file for avr-gcc and arm-elf-gcc.
Maybe thats what you were missing.
Hope this helps!!
The exact text is
build_flags = -Wl,-Map,output.map