mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-09-07 16:54:28 +00:00
Apple GCC uses __ppc__ as the arch token
This commit is contained in:
parent
46f9e6d2ea
commit
e616062d6d
@ -1143,7 +1143,7 @@ if [[ "x$ac_cv_use_dyngen" = "xyes" ]]; then
|
|||||||
AC_CACHE_CHECK([whether static data regions are executable],
|
AC_CACHE_CHECK([whether static data regions are executable],
|
||||||
ac_cv_have_static_data_exec, [
|
ac_cv_have_static_data_exec, [
|
||||||
AC_TRY_RUN([int main(void) {
|
AC_TRY_RUN([int main(void) {
|
||||||
#if defined(__powerpc__)
|
#if defined(__powerpc__) || defined(__ppc__)
|
||||||
static unsigned int p[8] = {0x4e800020,};
|
static unsigned int p[8] = {0x4e800020,};
|
||||||
asm volatile("dcbst 0,%0" : : "r" (p) : "memory");
|
asm volatile("dcbst 0,%0" : : "r" (p) : "memory");
|
||||||
asm volatile("sync" : : : "memory");
|
asm volatile("sync" : : : "memory");
|
||||||
|
Loading…
Reference in New Issue
Block a user