nvptx-none: Define empty GOMP_SELF_SPECS.
Otherwise, offloading with -fopenacc or -fopenmp active will run into: x86_64-unknown-linux-gnu-accel-nvptx-none-gcc: error: unrecognized command line option '-pthread' gcc/ * config/nvptx/nvptx.h (GOMP_SELF_SPECS): Define macro. From-SVN: r220780
This commit is contained in:
parent
e6f7f0e951
commit
8747dd6e13
|
@ -1,3 +1,7 @@
|
||||||
|
2015-02-18 Thomas Schwinge <thomas@codesourcery.com>
|
||||||
|
|
||||||
|
* config/nvptx/nvptx.h (GOMP_SELF_SPECS): Define macro.
|
||||||
|
|
||||||
2015-02-18 Andrew Pinski <apinski@cavium.com>
|
2015-02-18 Andrew Pinski <apinski@cavium.com>
|
||||||
Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
|
Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
|
||||||
|
|
||||||
|
|
|
@ -33,6 +33,10 @@
|
||||||
builtin_define ("__nvptx__"); \
|
builtin_define ("__nvptx__"); \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
/* Avoid the default in ../../gcc.c, which adds "-pthread", which is not
|
||||||
|
supported for nvptx. */
|
||||||
|
#define GOMP_SELF_SPECS ""
|
||||||
|
|
||||||
/* Storage Layout. */
|
/* Storage Layout. */
|
||||||
|
|
||||||
#define BITS_BIG_ENDIAN 0
|
#define BITS_BIG_ENDIAN 0
|
||||||
|
|
Loading…
Reference in New Issue