https://gcc.gnu.org/g:1290b35c7e7da448177edc56421ea0d966c0aeaa

commit r16-5720-g1290b35c7e7da448177edc56421ea0d966c0aeaa
Author: Sandra Loosemore <[email protected]>
Date:   Mon Nov 17 15:30:15 2025 +0000

    doc, linux: Clean up GNU/Linux option documentation [PR122243]
    
    gcc/ChangeLog
            PR other/122243
            * doc/invoke.texi: Document -mno-android.

Diff:
---
 gcc/doc/invoke.texi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 322d440c0d6b..8a5c554770d2 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -28060,7 +28060,9 @@ Use Bionic C library.  This is the default on
 @samp{*-*-linux-*android*} targets.
 
 @opindex mandroid
+@opindex mno-android
 @item -mandroid
+@itemx -mno-android
 Compile code compatible with Android platform.  This is the default on
 @samp{*-*-linux-*android*} targets.
 
@@ -28070,6 +28072,8 @@ this option makes the GCC driver pass Android-specific 
options to the linker.
 Finally, this option causes the preprocessor macro @code{__ANDROID__}
 to be defined.
 
+This option can be disabled completely with @option{-mno-android}.
+
 @opindex tno-android-cc
 @item -tno-android-cc
 Disable compilation effects of @option{-mandroid}, i.e., do not enable

Reply via email to