Projects
Factory:RISC-V:Base
clang
_service:tar_scm:0001-Mark-fopenmp-implicit-rpa...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0001-Mark-fopenmp-implicit-rpath-as-NoArgumentUnused.patch of Package clang
From 537e325f180d3d82bbef64aac71efcb0256d6916 Mon Sep 17 00:00:00 2001 From: Nikita Popov <npopov@redhat.com> Date: Fri, 2 Sep 2022 16:30:15 +0200 Subject: [PATCH] Mark fopenmp-implicit-rpath as NoArgumentUnused We pass this option unconditionally in LDFLAGS, make sure this does not warn if openmp is not used, as this may break some build systems. --- clang/include/clang/Driver/Options.td | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td index d921ea5d5da9..d883fd3a8f04 100644 --- a/clang/include/clang/Driver/Options.td +++ b/clang/include/clang/Driver/Options.td @@ -4118,7 +4118,8 @@ defm openmp_implicit_rpath: BoolFOption<"openmp-implicit-rpath", LangOpts<"OpenMP">, DefaultTrue, PosFlag<SetTrue, [], "Set rpath on OpenMP executables">, - NegFlag<SetFalse>>; + NegFlag<SetFalse>, + BothFlags<[NoArgumentUnused]>>; def r : Flag<["-"], "r">, Flags<[LinkerInput,NoArgumentUnused]>, Group<Link_Group>; def save_temps_EQ : Joined<["-", "--"], "save-temps=">, Flags<[CC1Option, FlangOption, NoXarchOption]>, -- 2.37.2
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2