From: Kwok Cheung Yeung Date: Tue, 7 Nov 2023 22:02:28 +0000 (+0000) Subject: Fix libgomp build on targets that are not Linux-based or accelerators X-Git-Tag: basepoints/gcc-15~4905 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f5ddc3677389cbb2071d86c31edc87a3dc482f68;p=thirdparty%2Fgcc.git Fix libgomp build on targets that are not Linux-based or accelerators The patch 'openmp: Add support for the 'indirect' clause in C/C++' introduced a new file target-indirect.c into the Makefile sources, but that file was only present in config/linux/ and config/accel/, so targets that are not Linux-based or GPU accelerators will not pick it up and fail to build. This is fixed by making the version in config/linux/ the default by moving it into the base directory of libgomp. 2023-11-07 Kwok Cheung Yeung libgomp/ * config/linux/target-indirect.c: Move to... * target-indirect.c: ...here. --- diff --git a/libgomp/config/linux/target-indirect.c b/libgomp/target-indirect.c similarity index 100% rename from libgomp/config/linux/target-indirect.c rename to libgomp/target-indirect.c