extern int setjmp(jmp_buf __env);
__attribute__((__noreturn__)) void longjmp (jmp_buf env, int val);
+#elif defined(__mc68000__)
+
+ typedef uint32_t jmp_buf[12];
+ extern int setjmp(jmp_buf __env);
+ __attribute__((__noreturn__)) void longjmp (jmp_buf env, int val);
+
#else
#error jmp_buf definition not set for this architecture
#endif
AR = m68k-linux-gnu-ar
PLATFORM = 68000
export PLATFORM
-CC_OPT = -m68000 -fno-strict-aliasing -fomit-frame-pointer -fno-builtin -Wall -m68000 -c -Os -I../include -I../include/68000 -I../include/68000/fixed
+CC_OPT = -fno-strict-aliasing -fomit-frame-pointer -fno-builtin -Wall -m68000 -c -Os -I../include -I../include/68000 -I../include/68000/fixed
ASM_OPT = -o
# copied in from kernel tree
KRN_HEADERS = userstructs.h drivewire.h