mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-29 01:24:51 +02:00
configure: add asmjs-unknown-emscripten target
This commit is contained in:
Vendored
+6
-2
@@ -7773,12 +7773,12 @@ fi
|
||||
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} -fPIC -Werror=implicit-function-declaration"
|
||||
CFLAGS="${CFLAGS} -m64 -fPIC -Werror=implicit-function-declaration"
|
||||
;;
|
||||
esac
|
||||
if test $usingOGL ; then
|
||||
@@ -7790,6 +7790,10 @@ case $target in
|
||||
gr_libs="$gr_libs -lbsd"
|
||||
fi
|
||||
;;
|
||||
*-emscripten*)
|
||||
$as_echo "#define linux 1" >>confdefs.h
|
||||
CFLAGS="${CFLAGS} -fPIC -Werror=implicit-function-declaration -Wno-int-conversion -Wno-implicit-int"
|
||||
;;
|
||||
*solaris*)
|
||||
$as_echo "#define SYSV 1" >>confdefs.h
|
||||
|
||||
|
||||
Reference in New Issue
Block a user