Update the clang manpage to remove osx specific options and to add -arch (Closes: #743133)

This commit is contained in:
Sylvestre Ledru 2018-11-04 18:08:00 +01:00
parent e3b5de9260
commit 3232ed4c0f
3 changed files with 46 additions and 0 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
llvm-toolchain-7 (1:7-9) UNRELEASED; urgency=medium
* Update the clang manpage to remove osx specific options
and to add -arch (Closes: #743133)
-- Sylvestre Ledru <sylvestre@debian.org> Sun, 04 Nov 2018 18:07:23 +0100
llvm-toolchain-7 (1:7-8) unstable; urgency=medium llvm-toolchain-7 (1:7-8) unstable; urgency=medium
* Update the watch file to display the right version * Update the watch file to display the right version

View File

@ -0,0 +1,38 @@
Index: llvm-toolchain-7-7/clang/docs/CommandGuide/clang.rst
===================================================================
--- llvm-toolchain-7-7.orig/clang/docs/CommandGuide/clang.rst
+++ llvm-toolchain-7-7/clang/docs/CommandGuide/clang.rst
@@ -310,20 +310,10 @@ Clang fully supports cross compilation a
Depending on how your version of Clang is configured, it may have support for a
number of cross compilers, or may only support a native target.
-.. option:: -arch <architecture>
+.. option:: -target <architecture>
Specify the architecture to build for.
-.. option:: -mmacosx-version-min=<version>
-
- When building for Mac OS X, specify the minimum version supported by your
- application.
-
-.. option:: -miphoneos-version-min
-
- When building for iPhone OS, specify the minimum version supported by your
- application.
-
.. option:: -march=<cpu>
Specify that Clang should generate code for a specific processor family
@@ -616,11 +606,6 @@ ENVIRONMENT
These environment variables specify additional paths, as for :envvar:`CPATH`, which are
only used when processing the appropriate language.
-.. envvar:: MACOSX_DEPLOYMENT_TARGET
-
- If :option:`-mmacosx-version-min` is unspecified, the default deployment
- target is read from this environment variable. This option only affects
- Darwin targets.
BUGS
----

View File

@ -83,3 +83,4 @@ hurd-lib_Support_Unix_Path.inc.diff
hurd-tools_llvm-shlib_CMakeLists.txt.diff hurd-tools_llvm-shlib_CMakeLists.txt.diff
rustc-aarch64-test-failure.diff rustc-aarch64-test-failure.diff
symbolizer-path.diff symbolizer-path.diff
remove-apple-clang-manpage.diff