aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2022-01-27 12:41:55 +0100
committerCorinna Vinschen <corinna@vinschen.de>2022-05-12 22:00:25 +0200
commitb5dcb1e5e39f16a8aa207f48f2bd889348110d25 (patch)
tree0b78be80970b3728d62fbf52f24cbb6b7e48559a /winsup
parentc2f599fb69012550086d25bde3f37f3e75d46367 (diff)
downloadnewlib-b5dcb1e5e39f16a8aa207f48f2bd889348110d25.zip
newlib-b5dcb1e5e39f16a8aa207f48f2bd889348110d25.tar.gz
newlib-b5dcb1e5e39f16a8aa207f48f2bd889348110d25.tar.bz2
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>
Diffstat (limited to 'winsup')
-rw-r--r--winsup/configure.ac10
1 files changed, 5 insertions, 5 deletions
diff --git a/winsup/configure.ac b/winsup/configure.ac
index c0a43fc..5d83c23 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