File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff 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} "
You can’t perform that action at this time.
0 commit comments