This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/2] Add gdb_compile_openmp to lib/gdb.exp
On Thu, 22 Aug 2019 12:18:13 -0500
Christian Biesinger <cbiesinger@google.com> wrote:
> > +# Build an OpenMP program from SOURCE. See prefatory comment for
> > +# gdb_compile, above, for discussion of the parameters to this proc.
> > +
> > +proc gdb_compile_openmp {source dest type options} {
> > + switch -glob [test_compiler_info] {
> > + "gcc-*" {
> > + if { !([istarget "*-*-cygwin*"]
> > + || [istarget "*-*-mingw*"]
> > + || [istarget "*-*-pe*"]) } {
> > + lappend options "additional_flags=-fopenmp"
>
> Why exclude cygwin/mingw here?
No good reason. I've removed those lines from my local sources.
Thanks for noticing this.
Kevin