Skip to content

Commit bb63199

Browse files
author
jan.nijtmans
committed
Update configure
2 parents 05cc8d1 + 31dc700 commit bb63199

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

configure

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4006,8 +4006,11 @@ printf "%s\n" "$TEA_PLATFORM" >&6; }
40064006

40074007
# The BUILD_$pkg is to define the correct extern storage class
40084008
# handling when making this package
4009+
# To be able to sefely use the package name in a #define, it must not
4010+
# contain anything other than alphanumeric characters and underscores
4011+
SAFE_PKG_NAME=thread
40094012

4010-
printf "%s\n" "#define BUILD_${PACKAGE_NAME} /**/" >>confdefs.h
4013+
printf "%s\n" "#define BUILD_${SAFE_PKG_NAME} /**/" >>confdefs.h
40114014

40124015
# Do this here as we have fully defined TEA_PLATFORM now
40134016
if test "${TEA_PLATFORM}" = "windows" ; then
@@ -9309,7 +9312,7 @@ printf "%s\n" "#define TK_MAJOR_VERSION 8" >>confdefs.h
93099312
fi
93109313
SHLIB_LD_LIBS="${SHLIB_LD_LIBS} \"`${CYGPATH} ${TCL_BIN_DIR}/${TCL_STUB_LIB_FILE}`\""
93119314
if test "$GCC" = "yes"; then
9312-
SHLIB_LD_LIBS="${SHLIB_LD_LIBS} -static-libgcc"
9315+
SHLIB_LD_LIBS="${SHLIB_LD_LIBS} -static-libgcc -Wl,--disable-high-entropy-va"
93139316
fi
93149317
eval eval "PKG_LIB_FILE8=${PACKAGE_LIB_PREFIX8}${PACKAGE_NAME}${SHARED_LIB_SUFFIX}"
93159318
eval eval "PKG_LIB_FILE9=${PACKAGE_LIB_PREFIX9}${PACKAGE_NAME}${SHARED_LIB_SUFFIX}"

0 commit comments

Comments
 (0)