From 1290b35c7e7da448177edc56421ea0d966c0aeaa Mon Sep 17 00:00:00 2001 From: Sandra Loosemore Date: Mon, 17 Nov 2025 15:30:15 +0000 Subject: [PATCH] doc, linux: Clean up GNU/Linux option documentation [PR122243] gcc/ChangeLog PR other/122243 * doc/invoke.texi: Document -mno-android. --- gcc/doc/invoke.texi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 322d440c0d6..8a5c554770d 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 -- 2.47.3