Fix gcrt0.o compilation
commitedd4cbcf83fb466dd8a1b5d63d55b1fea96356fe
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 6 Aug 2015 23:38:39 +0000 (7 01:38 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 6 Aug 2015 23:38:39 +0000 (7 01:38 +0200)
tree525d4c7405e67c6b2cf2c77f895f8d654ae825d7
parent5e29dd573777197fc4d12c1bdea8f6d04e505391
Fix gcrt0.o compilation

When static-start-installed-name is different from
start-installed-name, we must not use the shared objects.

* csu/Makefile
(extra-objs): Add gmon-start.o when building shared library and
$(static-start-installed-name) is different from
$(start-installed-name).
$(objpfx)g$(static-start-installed-name): When building shared
library and $(static-start-installed-name) is different from
$(static-start-installed-name), revert to non-shared rule,
i.e. using $(objpfx)% and gmon-start.o.
ChangeLog
csu/Makefile