aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface
diff options
context:
space:
mode:
authorAndris Pavenis <andris.pavenis@iki.fi>2016-10-11 21:19:07 +0300
committerAndris Pavenis <andris@gcc.gnu.org>2016-10-11 21:19:07 +0300
commita5297b0470db4d1875a651e578a9b538f5da6d3f (patch)
treed8e4a9fb3b469cd6eac20d47de999ddd6af4ed2b /gcc/ada/gcc-interface
parent4f100fd7dbccf6d55fc0821038b97f54ff97524f (diff)
downloadgcc-a5297b0470db4d1875a651e578a9b538f5da6d3f.zip
gcc-a5297b0470db4d1875a651e578a9b538f5da6d3f.tar.gz
gcc-a5297b0470db4d1875a651e578a9b538f5da6d3f.tar.bz2
Makefile.in (LIBGNAT_TARGET_PAIRS): Define for DJGPP target
2016-10-11 Andris Pavenis <andris.pavenis@iki.fi> * gcc-interface/Makefile.in (LIBGNAT_TARGET_PAIRS): Define for DJGPP target (EH_MECHANISM): Define to -gcc for DJGPP * system-djgpp.ads: New file From-SVN: r240998
Diffstat (limited to 'gcc/ada/gcc-interface')
-rw-r--r--gcc/ada/gcc-interface/Makefile.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/ada/gcc-interface/Makefile.in b/gcc/ada/gcc-interface/Makefile.in
index db39a79..53b6c04 100644
--- a/gcc/ada/gcc-interface/Makefile.in
+++ b/gcc/ada/gcc-interface/Makefile.in
@@ -1773,6 +1773,23 @@ ifeq ($(strip $(filter-out elf eabi eabispe,$(target_os))),)
indepsw.adb<indepsw-gnu.adb
endif
+ifeq ($(strip $(filter-out %djgpp,$(target_os))),)
+ GNATRTL_SOCKETS_OBJS =
+
+ LIBGNAT_TARGET_PAIRS = \
+ a-intnam.ads<a-intnam-dummy.ads \
+ s-inmaop.adb<s-inmaop-dummy.adb \
+ s-intman.adb<s-intman-dummy.adb \
+ s-osinte.ads<s-osinte-dummy.ads \
+ s-osprim.adb<s-osprim-unix.adb \
+ s-taprop.adb<s-taprop-dummy.adb \
+ s-taspri.ads<s-taspri-dummy.ads \
+ system.ads<system-djgpp.ads \
+ $(DUMMY_SOCKETS_TARGET_PAIRS)
+
+ EH_MECHANISM=-gcc
+endif
+
# Cygwin/Mingw32
ifeq ($(strip $(filter-out cygwin% mingw32% pe,$(target_os))),)
# Cygwin provides a full Posix environment, and so we use the default