Codecoverage running natively on OSX

Okay. Digging some more, I found a solution in an issue.

The solution to get this working on OS X

[env:native]
platform = native
build_flags = 
    ${common.build_flags}
	; native is only used for unit testing
	-DPIO_UNIT_TESTING
	--coverage
build_src_filter = 
	+<./native>
test_filter =
	${native.test_filter}
lib_deps =
	${native.lib_deps}
extra_scripts = add_link_flags

And then the file add_link_flags (probably gonna rename that)

Import("env")

env.Append(
  LINKFLAGS=[
      "--coverage"
  ]
)