mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-22 22:00:49 +00:00
mprove compiler selection and add mechanism for turning on ARC for a build
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39442 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f801889750
commit
ec3ca6960a
4 changed files with 25 additions and 5 deletions
14
ChangeLog
14
ChangeLog
|
@ -1,9 +1,19 @@
|
|||
2016-03-02 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* configure.ac: Improve selection of clang when 'ng' runtime library
|
||||
is selected.
|
||||
* configure: Regenerate.
|
||||
* library-combo.make: Add support for ARC with the 'ng' runtime
|
||||
setting. Enabled by defining GS_WITH_ARC=1 at the start of the
|
||||
GNUmakefile or in the environment or in the 'make' arguments.
|
||||
|
||||
2016-03-02 Niels Grewe <niels.grewe@halbordnung.de>
|
||||
|
||||
* Master/documentation.make:
|
||||
Support skipping the documentation build if skip_documentation=yes
|
||||
Support skipping the documentation build if documentation=no
|
||||
is supplied
|
||||
* Documentation/gnustep-make.texi:
|
||||
Document the new skip_documentation feature (and messages=yes, which
|
||||
Document the new documentation=no feature (and messages=yes, which
|
||||
as also missing).
|
||||
|
||||
2015-12-11 23:34-EST Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
|
2
configure
vendored
2
configure
vendored
|
@ -1588,6 +1588,8 @@ Optional Packages:
|
|||
binaries that support multiple library combos. In that case,
|
||||
this flag will only configure the default one, but you can still
|
||||
use other ones at run-time.
|
||||
Please use 'ng-gnu-gnu' to build with 'next generation' cutting edge
|
||||
runtime and compile time featured (requires a recent version of clang).
|
||||
|
||||
|
||||
--with-tar
|
||||
|
|
|
@ -89,6 +89,8 @@ AC_ARG_WITH(library-combo,[
|
|||
binaries that support multiple library combos. In that case,
|
||||
this flag will only configure the default one, but you can still
|
||||
use other ones at run-time.
|
||||
Please use 'ng-gnu-gnu' to build with 'next generation' cutting edge
|
||||
runtime and compile time featured (requires a recent version of clang).
|
||||
],
|
||||
ac_cv_library_combo=$withval,
|
||||
ac_cv_library_combo=$ac_cv_library_combo
|
||||
|
|
|
@ -110,10 +110,16 @@ ifeq ($(OBJC_RUNTIME_LIB), ng)
|
|||
OBJC_LIBS = $(OBJC_LIB_FLAG) -fobjc-nonfragile-abi
|
||||
RUNTIME_FLAG = -fobjc-runtime=gnustep-1.8 -fblocks -fno-objc-legacy-dispatch
|
||||
RUNTIME_DEFINE = -DGNUSTEP_RUNTIME=1 -D_NONFRAGILE_ABI=1
|
||||
# By default we enable ARC for ng code, but projects may disable it
|
||||
# by defining GS_WITH_ARC=0 at the start of their GNUmakefile
|
||||
# Projects may control the use of ARC by defining GS_WITH_ARC=1
|
||||
# or GS_WITH_ARC=0 at the start of their GNUmakefile, or in the environment,
|
||||
# or as an argument to the 'make' command.
|
||||
# The default behavior is not to use ARC, unless GNUSTEP_NG_ARC is
|
||||
# set to 1 (perhaps in the GNUstep config file; GNUstep.conf).
|
||||
#
|
||||
ifeq ($(GS_WITH_ARC),)
|
||||
GS_WITH_ARC = 1
|
||||
ifeq ($(GNUSTEP_NG_ARC), 1)
|
||||
GS_WITH_ARC=1
|
||||
endif
|
||||
endif
|
||||
ifeq ($(GS_WITH_ARC), 1)
|
||||
RUNTIME_FLAG += -fobjc-arc
|
||||
|
|
Loading…
Reference in a new issue