carl9170: fix spurious "error: unrecognized command line option ‘-rdynamic’"
authorChristian Lamparter <chunkeey@gmail.com>
Sun, 5 Nov 2017 15:42:39 +0000 (16:42 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 5 Nov 2017 16:26:31 +0000 (17:26 +0100)
commitbbc5d742913079f573526c20df9169c926bb8035
tree43ca2ba069046a2fcdb2cf93bb1839727d92afaf
parenta8d662f013d7650ec3f7194c7d4628e5fdfc5eb6
carl9170: fix spurious "error: unrecognized command line option ‘-rdynamic’"

This error came from cmake's module Linux-GNU-C.cmake that sets the
linker options. However, this is an embedded target and it does not
support dynamic linking. Until this is fixed, let's just overwrite
the line.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
extra/sh-elf-linux.cmake