X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=toolchain%2Fgcc%2Fpatches%2F5.2.0%2F208-musl_gomp.patch;fp=toolchain%2Fgcc%2Fpatches%2F5.2.0%2F208-musl_gomp.patch;h=b15403b66f323fda64da0ad59293de9f0c946ef5;hb=596e461a6ca2bb94914227de3d82b0b0b688024f;hp=0000000000000000000000000000000000000000;hpb=6eb284b465a2ffb75bfeb5ba03db86f19d6052af;p=openwrt.git diff --git a/toolchain/gcc/patches/5.2.0/208-musl_gomp.patch b/toolchain/gcc/patches/5.2.0/208-musl_gomp.patch new file mode 100644 index 0000000000..b15403b66f --- /dev/null +++ b/toolchain/gcc/patches/5.2.0/208-musl_gomp.patch @@ -0,0 +1,11 @@ +--- a/libgomp/config/posix/time.c ++++ b/libgomp/config/posix/time.c +@@ -29,6 +29,8 @@ + The following implementation uses the most simple POSIX routines. + If present, POSIX 4 clocks should be used instead. */ + ++#define _POSIX_C_SOURCE 199309L /* for clocks */ ++ + #include "libgomp.h" + #include + #if TIME_WITH_SYS_TIME