mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
config: Control languages from the command line --with/--without options.
Allow a user to include languages by --with-objc or --without-cxx.
This commit is contained in:
@@ -10,6 +10,20 @@
|
|||||||
%error No 'release' defined
|
%error No 'release' defined
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
#
|
||||||
|
# Process the command line --with-/--without- options.
|
||||||
|
#
|
||||||
|
%{?with_cxx:%define enable_cxx 1}
|
||||||
|
%{?without_cxx:%define enable_cxx 0}
|
||||||
|
%{?with_ada:%define enable_ada 1}
|
||||||
|
%{?without_ada:%define enable_ada 0}
|
||||||
|
%{?with_fortran:%define enable_fortran 1}
|
||||||
|
%{?without_fortran:%define enable_fortran 0}
|
||||||
|
%{?with_java:%define enable_java 1}
|
||||||
|
%{?without_java:%define enable_java 0}
|
||||||
|
%{?with_objc:%define enable_objc 1}
|
||||||
|
%{?without_objc:%define enable_objc 0}
|
||||||
|
|
||||||
#
|
#
|
||||||
# Default to C++ on.
|
# Default to C++ on.
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user