merge from gcc
This commit is contained in:
parent
6cb442d374
commit
caa846806e
3 changed files with 18 additions and 23 deletions
|
@ -1,10 +1,3 @@
|
||||||
2008-11-14 Tristan Gingold <gingold@adacore.com>
|
|
||||||
|
|
||||||
* makefile.vms (OBJS): Update objects list.
|
|
||||||
(CFLAGS): Update.
|
|
||||||
(libiberty.olb): Remove alloca-conf.h dependency.
|
|
||||||
* config.h-vms: Use new macro sets, use builtin alloca.
|
|
||||||
|
|
||||||
2008-10-22 Daniel Jacobowitz <dan@codesourcery.com>
|
2008-10-22 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
* Makefile.in (CPPFLAGS): Define.
|
* Makefile.in (CPPFLAGS): Define.
|
||||||
|
|
|
@ -1,8 +1,13 @@
|
||||||
#define HAVE_SYS_STAT_H 1
|
#ifndef NEED_strerror
|
||||||
#define HAVE_STDLIB_H 1
|
#define NEED_strerror
|
||||||
#define HAVE_STRING_H 1
|
#endif
|
||||||
#define HAVE_LIMITS_H 1
|
#ifndef NEED_basename
|
||||||
#define HAVE_UNISTD_H 1
|
#define NEED_basename
|
||||||
#define HAVE_TIMES 1
|
#endif
|
||||||
#include <builtins.h>
|
#ifndef NEED_psignal
|
||||||
#define C_alloca __ALLOCA
|
#define NEED_psignal
|
||||||
|
#endif
|
||||||
|
#ifndef NEED_on_exit
|
||||||
|
#define NEED_on_exit
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -8,21 +8,18 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
OBJS=bcopy.obj,bcmp.obj,getopt.obj,obstack.obj,xexit.obj,xmalloc.obj,hex.obj,\
|
OBJS=bcopy.obj,bcmp.obj,getopt.obj,obstack.obj,xexit.obj,xmalloc.obj,hex.obj,\
|
||||||
getopt1.obj,cplus-dem.obj,cp-demangle.obj,cp-demint.obj,\
|
getopt1.obj,cplus-dem.obj,strncasecmp.obj,strcasecmp.obj,strdup.obj,\
|
||||||
asprintf.obj vasprintf.obj,mkstemps.obj,\
|
concat.obj,getruntime.obj,getpagesize.obj,alloca.obj,xstrerror.obj,\
|
||||||
concat.obj,getruntime.obj,getpagesize.obj,xstrerror.obj,\
|
xmemdup.obj,xstrdup.obj,xatexit.obj,choose-temp.obj,fnmatch.obj,objalloc.obj
|
||||||
xmemdup.obj,xstrdup.obj,xatexit.obj,choose-temp.obj,fnmatch.obj,\
|
|
||||||
objalloc.obj,safe-ctype.obj,hashtab.obj,lbasename.obj,argv.obj,\
|
|
||||||
lrealpath.obj,make-temp-file.obj,unlink-if-ordinary.obj
|
|
||||||
|
|
||||||
ifeq ($(CC),gcc)
|
ifeq ($(CC),gcc)
|
||||||
CFLAGS=/include=([],[-.include])
|
CFLAGS=/include=([],[-.include])
|
||||||
else
|
else
|
||||||
# assume dec c
|
# assume dec c
|
||||||
CFLAGS=/noopt/debug/include=([],[-.include])/warnings=disable=(missingreturn)/name=(as_is,shortened)/define=(HAVE_CONFIG_H=1)/prefix=(all,except=("getopt","optarg","optopt","optind","opterr"))
|
CFLAGS=/noopt/debug/include=([],[-.include])/define=("const=")/warnings=disable=(missingreturn,implicitfunc)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
libiberty.olb: config.h $(OBJS)
|
libiberty.olb: config.h alloca-conf.h $(OBJS)
|
||||||
purge
|
purge
|
||||||
lib/create libiberty *.obj
|
lib/create libiberty *.obj
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue