Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2022-01-27 14:41:55 +0300
committerCorinna Vinschen <corinna@vinschen.de>2022-05-12 23:00:25 +0300
commitb5dcb1e5e39f16a8aa207f48f2bd889348110d25 (patch)
tree0b78be80970b3728d62fbf52f24cbb6b7e48559a
parentc2f599fb69012550086d25bde3f37f3e75d46367 (diff)
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 <corinna@vinschen.de>
-rw-r--r--winsup/configure.ac10
1 files changed, 5 insertions, 5 deletions
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