bootstrap: Fix old boostrapping issue once and for all.
authorzrj <rimvydas.jasinskas@gmail.com>
Wed, 21 Sep 2016 10:45:50 +0000 (13:45 +0300)
committerzrj <zrj@dragonflybsd.org>
Sat, 24 Sep 2016 06:45:08 +0000 (09:45 +0300)
commitf08f1baa605ef8f4a93a42e1d790a9fcfb44df35
tree2b7bc81e843bee4b33bae938dd4c9b47c254cc34
parent710fdd011c30a1bd9f53b87c843fb8907c4a6cfd
bootstrap: Fix old boostrapping issue once and for all.

This was fallout after iconv() removal of 'const' attribute to conform
with POSIX. All the later hacks are starting to accumulate and prevent
easy further base system upgrading. So given that main issue is c++
specific and only needed for bootstraping process deal with it straight
and remove all hacks(include shoehornings) that were caused by it.

To fix bootstrapping problems add WORLD_VERSION variable that indicates
current DragonFly base version and could be used to retrospectively
help bootstrapping from older releases. Makefile changes that depend on
WORLD_VERSION should *only* be used as a once switch and during native
compilations should *not* change default world makefiles logic.
gnu/usr.bin/cc50/Makefile.inc
gnu/usr.bin/cc50/cc_tools/libcpp/Makefile
gnu/usr.bin/cc50/support-libs/libcpp/Makefile
include/setjmp.h
include/unistd.h
share/mk/sys.mk