Commit e4b2093f by Eric Botcazou Committed by Eric Botcazou

re PR ada/50048 ("cc1: note: obsolete option -I- used, please use -iquote…

re PR ada/50048 ("cc1: note: obsolete option -I- used, please use -iquote instead" during bootstrap)

gnattools/
	PR ada/50048
	* Makefile.in (ftop_srcdir): New variable.
	(INCLUDES_FOR_SUBDIR): Use -iquote and $(ftop_srcdir).
gcc/ada/
	PR ada/50048
	* gcc-interface/Makefile.in (INCLUDES): Use -iquote.

From-SVN: r231341
parent 62e56a0d
2015-12-06 Eric Botcazou <ebotcazou@adacore.com> 2015-12-06 Eric Botcazou <ebotcazou@adacore.com>
PR ada/50048
* gcc-interface/Makefile.in (INCLUDES): Use -iquote.
2015-12-06 Eric Botcazou <ebotcazou@adacore.com>
PR ada/56274 PR ada/56274
* s-osinte-kfreebsd-gnu.ads (pthread_rwlock_t): New subtype. * s-osinte-kfreebsd-gnu.ads (pthread_rwlock_t): New subtype.
(pthread_rwlockattr_t): Likewise. (pthread_rwlockattr_t): Likewise.
......
...@@ -257,7 +257,8 @@ TOOLS_LIBS += @NO_PIE_FLAG@ ...@@ -257,7 +257,8 @@ TOOLS_LIBS += @NO_PIE_FLAG@
# Both . and srcdir are used, in that order, # Both . and srcdir are used, in that order,
# so that tm.h and config.h will be found in the compilation # so that tm.h and config.h will be found in the compilation
# subdirectory rather than in the source directory. # subdirectory rather than in the source directory.
INCLUDES = -I- -I. -I.. -I$(srcdir)/ada -I$(srcdir) -I$(ftop_srcdir)/include $(GMPINC) INCLUDES = -iquote . -iquote .. -iquote $(srcdir)/ada -iquote $(srcdir) \
-I $(ftop_srcdir)/include $(GMPINC)
ADA_INCLUDES = -I- -I. -I$(srcdir)/ada ADA_INCLUDES = -I- -I. -I$(srcdir)/ada
......
2015-12-06 Eric Botcazou <ebotcazou@adacore.com>
PR ada/50048
* Makefile.in (ftop_srcdir): New variable.
(INCLUDES_FOR_SUBDIR): Use -iquote and $(ftop_srcdir).
2015-06-08 John Marino <gnugcc@marino.st> 2015-06-08 John Marino <gnugcc@marino.st>
* configure.ac (*-*-dragonfly*): New configuration. * configure.ac (*-*-dragonfly*): New configuration.
......
...@@ -57,12 +57,16 @@ ADAFLAGS= -gnatpg -gnata ...@@ -57,12 +57,16 @@ ADAFLAGS= -gnatpg -gnata
# For finding the GCC build dir, which is used far too much # For finding the GCC build dir, which is used far too much
GCC_DIR=../gcc GCC_DIR=../gcc
# Full path to top source directory
ftop_srcdir := $(shell cd $(srcdir)/..;${PWD_COMMAND})
# Absolute srcdir for gcc (why do we want absolute? I dunno) # Absolute srcdir for gcc (why do we want absolute? I dunno)
fsrcdir := $(shell cd $(srcdir)/../gcc/; ${PWD_COMMAND}) fsrcdir := $(shell cd $(srcdir)/../gcc/; ${PWD_COMMAND})
# Useful "subroutines" for the excess includes # Useful "subroutines" for the excess includes
INCLUDES_FOR_SUBDIR = -I. -I.. -I../.. -I$(fsrcdir)/ada -I$(fsrcdir)/config \ INCLUDES_FOR_SUBDIR = -iquote . -iquote .. -iquote ../.. \
-I$(fsrcdir)/../include -I$(fsrcdir) -iquote $(fsrcdir)/ada -iquote $(fsrcdir)/config \
-iquote $(fsrcdir) -I$(ftop_srcdir)/include
ADA_INCLUDES_FOR_SUBDIR = -I. -I$(fsrcdir)/ada ADA_INCLUDES_FOR_SUBDIR = -I. -I$(fsrcdir)/ada
CXX_LFLAGS = \ CXX_LFLAGS = \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment