Eugene Syromyatnikov 5cfaf8a626 Add support for per-mpers compiler settings
As some very special architectures require a separate compiler
in order to compile binaries for additional supported personalities,
we have to introduce such support.

* Makefile.am (mpers_CPPFLAGS): Move $(strace_CPPFLAGS) ...
(mpers_sh_opts): ... here.
(mpers-m%.stamp:): Use $(mpers_CC) instead of $(CC) for compiler,
pass $(mpers_CC_FLAGS) in quotes as it might be empty or contain spaces.
($(mpers_m32_targets)): Add @CFLAGS_FOR_M32@ to mpers_CC_FLAGS, set
mpers_CPPFLAGS and mpers_CC.
($(mpers_mx32_targets)): Add @CFLAGS_FOR_MX32@ to mpers_CC_FLAGS, set
mpers_CPPFLAGS and mpers_CC.
* bootstrap (m_upper): Derive uppercase personality name.
Set CC for mpers Makefile.am, add @CFLAGS_FOR_{M32,MX32}@ to
MPERS_CC_FLAGS definition.
* configure.ac: Derive default values for
{CC,CPP,CFLAGS,CPPFLAGS}_FOR_{M32,MX32} from the respective CC, CPP,
CFLAGS, and CPPFLAGS values.
* m4/mpers.m4 (AC_DEFUN([st_MPERS])): Use
{CC,CPP,CFLAGS,CPPFLAGS}_FOR_<$1> as CC, CPP, CFLAGS, and CPPFLAGS,
respectively.  Enclose MPERS_CFLAGS in quotes in mpers.sh call.  Provide
information about compiler in the AC_CACHE_CHECK message.
* tests/Makefile.am (CC): New variable.

Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
2018-12-24 20:11:43 +00:00
..
2018-12-24 10:19:24 +00:00
2017-03-31 23:25:32 +00:00
2018-12-10 23:45:11 +00:00
2017-04-21 19:49:03 +00:00
2016-03-12 23:52:52 +00:00
2016-03-12 23:52:52 +00:00
2018-03-22 06:23:25 +00:00
2017-06-12 15:47:39 +00:00
2015-08-01 22:23:58 +00:00
2015-08-01 22:23:58 +00:00
2018-12-24 10:19:24 +00:00
2016-01-05 23:17:07 +00:00
2017-04-11 04:04:37 +00:00
2017-04-11 04:04:37 +00:00
2016-04-21 17:31:05 +00:00
2018-05-28 17:34:50 +00:00
2017-09-17 12:04:11 +00:00
2015-12-10 02:06:25 +00:00
2017-11-22 00:38:03 +00:00
2017-01-12 22:46:28 +00:00
2018-12-24 10:19:24 +00:00
2017-04-21 19:49:03 +00:00
2018-01-23 23:17:02 +00:00
2017-04-21 19:49:03 +00:00
2015-07-18 00:01:40 +00:00
2017-06-17 22:54:08 +00:00
2016-11-28 16:57:30 +00:00
2017-07-21 02:49:24 +00:00
2016-12-01 00:05:09 +00:00
2017-06-17 22:54:08 +00:00
2017-04-25 14:35:47 +00:00
2017-04-21 19:49:03 +00:00
2016-07-28 00:06:46 +00:00
2015-03-31 20:52:41 +00:00
2015-03-31 20:52:41 +00:00
2016-09-05 15:58:35 +00:00
2018-12-10 23:45:11 +00:00