diff options
Diffstat (limited to 'gcc/java/lang.c')
-rw-r--r-- | gcc/java/lang.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/java/lang.c b/gcc/java/lang.c index ad1b826..f8c37f2 100644 --- a/gcc/java/lang.c +++ b/gcc/java/lang.c @@ -117,6 +117,10 @@ int flag_use_boehm_gc = 0; object to its synchronization structure. */ int flag_hash_synchronization; +/* When non zero, assume all native functions are implemented with + JNI, not CNI. */ +int flag_jni = 0; + /* From gcc/flags.h, and indicates if exceptions are turned on or not. */ extern int flag_new_exceptions; @@ -135,7 +139,8 @@ lang_f_options[] = {"emit-class-files", &flag_emit_class_files, 1}, {"use-divide-subroutine", &flag_use_divide_subroutine, 1}, {"use-boehm-gc", &flag_use_boehm_gc, 1}, - {"hash-synchronization", &flag_hash_synchronization, 1} + {"hash-synchronization", &flag_hash_synchronization, 1}, + {"jni", &flag_jni, 1} }; JCF *current_jcf; |