]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
doc, linux: Clean up GNU/Linux option documentation [PR122243]
authorSandra Loosemore <sloosemore@baylibre.com>
Mon, 17 Nov 2025 15:30:15 +0000 (15:30 +0000)
committerSandra Loosemore <sloosemore@baylibre.com>
Sat, 29 Nov 2025 03:27:11 +0000 (03:27 +0000)
gcc/ChangeLog
PR other/122243
* doc/invoke.texi: Document -mno-android.

gcc/doc/invoke.texi

index 322d440c0d6bf7ede15b59ea73f80ab2f834d0e7..8a5c554770d237af77fff5cddd8038d7f54763ba 100644 (file)
@@ -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