mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-29 01:24:51 +02:00
quick and dirty emscripten port
This commit is contained in:
Vendored
+1
-3
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user