quick and dirty emscripten port

This commit is contained in:
Johan Euphrosine
2023-07-12 00:31:37 +09:00
parent c3ec56725b
commit 96eb275622
20 changed files with 37 additions and 41 deletions
+1 -3
View File
@@ -7774,13 +7774,11 @@ case $target in
*-linux*)
$as_echo "#define linux 1" >>confdefs.h
$as_echo "#define SYSV 1" >>confdefs.h
$as_echo "#define ISC 1" >>confdefs.h
case $target in
*x86_64*)
CFLAGS="${CFLAGS} -m64 -fPIC -Werror=implicit-function-declaration"
CFLAGS="${CFLAGS} -fPIC -Werror=implicit-function-declaration"
;;
esac
if test $usingOGL ; then
+1 -2
View File
@@ -1353,13 +1353,12 @@ dnl ----------------------------------------------------------------
case $target in
*-linux*)
AC_DEFINE(linux)
AC_DEFINE(SYSV)
dnl Defining "ISC" prevents compiler failure on redefinition of "wchar_t"
AC_DEFINE(ISC)
dnl 64-bit support for AMD Opteron
case $target in
*x86_64*)
CFLAGS="${CFLAGS} -m64 -fPIC -Werror=implicit-function-declaration"
CFLAGS="${CFLAGS} -fPIC -Werror=implicit-function-declaration"
;;
esac
if test $usingOGL ; then