38 lines
1.2 KiB
Diff
38 lines
1.2 KiB
Diff
--- a/src/gcc/ada/Makefile.rtl
|
|
+++ b/src/gcc/ada/Makefile.rtl
|
|
@@ -1683,6 +1683,34 @@ ifeq ($(strip $(filter-out x86_64 kfreeb
|
|
LIBRARY_VERSION := $(LIB_VERSION)
|
|
endif
|
|
|
|
+# x86_64-pc-gnu i.e. GNU Hurd
|
|
+ifeq ($(strip $(filter-out x86_64 pc gnu,$(target_cpu) $(target_os))),)
|
|
+ LIBGNAT_TARGET_PAIRS = \
|
|
+ a-intnam.ads<libgnarl/a-intnam__freebsd.ads \
|
|
+ s-inmaop.adb<libgnarl/s-inmaop__posix.adb \
|
|
+ s-intman.adb<libgnarl/s-intman__posix.adb \
|
|
+ s-osinte.adb<libgnarl/s-osinte__gnu.adb \
|
|
+ s-osinte.ads<libgnarl/s-osinte__gnu.ads \
|
|
+ s-osprim.adb<libgnat/s-osprim__posix.adb \
|
|
+ s-taprop.adb<libgnarl/s-taprop__posix.adb \
|
|
+ s-taspri.ads<libgnarl/s-taspri__posix.ads \
|
|
+ s-tpopsp.adb<libgnarl/s-tpopsp__posix-foreign.adb \
|
|
+ $(ATOMICS_TARGET_PAIRS) \
|
|
+ $(X86_64_TARGET_PAIRS) \
|
|
+ $(GNATRTL_128BIT_PAIRS) \
|
|
+ system.ads<libgnat/system-freebsd.ads
|
|
+
|
|
+ EXTRA_GNATRTL_NONTASKING_OBJS = $(GNATRTL_128BIT_OBJS)
|
|
+
|
|
+ TOOLS_TARGET_PAIRS = indepsw.adb<indepsw-gnu.adb
|
|
+
|
|
+ EH_MECHANISM=-gcc
|
|
+ THREADSLIB = -lpthread
|
|
+ GNATLIB_SHARED = gnatlib-shared-dual
|
|
+ GMEM_LIB = gmemlib
|
|
+ LIBRARY_VERSION := $(LIB_VERSION)
|
|
+endif
|
|
+
|
|
# aarch64 FreeBSD
|
|
ifeq ($(strip $(filter-out %aarch64 freebsd%,$(target_cpu) $(target_os))),)
|
|
LIBGNAT_TARGET_PAIRS = \
|