5
Last change
on this file since 95c1921 was
9a4eca5,
checked in by Chris Johns <chrisj@…>, on 08/10/16 at 03:07:29
|
build-system: Always enable C++ if the compiler is present.
We always build a C++ compiler and building with C++ does not effect
RTEMS or the runtime. This patch always enabled the support. There is
no need to manually enable it any more.
You can disable C++ with '--disable-cxx'.
If an architecture does not have a C++ compiler support is automatically
disabled.
|
-
Property mode set to
100644
|
File size:
304 bytes
|
Rev | Line | |
---|
[0e8262cf] | 1 | AC_DEFUN([RTEMS_ENABLE_CXX], |
---|
[3c69a774] | 2 | [ |
---|
| 3 | AC_ARG_ENABLE(cxx, |
---|
[9a4eca5] | 4 | [AS_HELP_STRING([--enable-cxx], |
---|
| 5 | [enable C++ support])], |
---|
[3c69a774] | 6 | [case "${enable_cxx}" in |
---|
| 7 | yes) RTEMS_HAS_CPLUSPLUS=yes ;; |
---|
| 8 | no) RTEMS_HAS_CPLUSPLUS=no ;; |
---|
| 9 | *) AC_MSG_ERROR(bad value ${enableval} for enable-cxx option) ;; |
---|
[9a4eca5] | 10 | esac], [RTEMS_HAS_CPLUSPLUS=yes]) |
---|
[3c69a774] | 11 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.