From c0d5bb262dcd72b0256ed27460ebd0fd7a7d582d Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 27 Jan 2022 12:41:55 +0100 Subject: [PATCH] Cygwin: configure: Define default valus for target specific variables Define default values for DLL_ENTRY, DIN_FILE, and TLSOFFSETS_H and drop them from the x86_64-specific branch. Keep the mechanism intact to allow other target CPUs if there ever will be. Signed-off-by: Corinna Vinschen --- winsup/configure.ac | 10 +++++----- winsup/cygwin/{tlsoffsets64.h => tlsoffsets-x86_64.h} | 0 2 files changed, 5 insertions(+), 5 deletions(-) rename winsup/cygwin/{tlsoffsets64.h => tlsoffsets-x86_64.h} (100%) diff --git a/winsup/configure.ac b/winsup/configure.ac index c0a43fc99..5d83c230a 100644 --- a/winsup/configure.ac +++ b/winsup/configure.ac @@ -65,12 +65,12 @@ no) ;; esac ]) +DLL_ENTRY="dll_entry" +DIN_FILE="${target_cpu}.din" +TLSOFFSETS_H="tlsoffsets-${target_cpu}.h" + case "$target_cpu" in - x86_64) - DLL_ENTRY="dll_entry" - DIN_FILE="x86_64.din" - TLSOFFSETS_H="tlsoffsets64.h" - ;; + x86_64) ;; *) AC_MSG_ERROR([Invalid target processor "$target_cpu"]) ;; esac diff --git a/winsup/cygwin/tlsoffsets64.h b/winsup/cygwin/tlsoffsets-x86_64.h similarity index 100% rename from winsup/cygwin/tlsoffsets64.h rename to winsup/cygwin/tlsoffsets-x86_64.h