diff options
-rw-r--r-- | cbs.h | 2 | ||||
-rw-r--r-- | make.c | 10 |
2 files changed, 3 insertions, 9 deletions
@@ -722,7 +722,7 @@ _rebuild(char *src) return; } - cmdadd(&cmd, "cc"); + cmdadd(&cmd, "cc", "-std=c2x"); #ifdef CBS_PTHREAD cmdadd(&cmd, "-lpthread"); #endif @@ -1,10 +1,4 @@ -#if __has_include(<features.h>) -# include <features.h> -# ifdef __GLIBC__ -# define _POSIX_C_SOURCE 200809L -# endif -#endif - +#define _GNU_SOURCE #include <errno.h> #include <getopt.h> #include <limits.h> @@ -112,7 +106,7 @@ main(int argc, char **argv) CMDPRC(c); } - if (foutdated("./grab", "src/grab.c", "src/compat.h", "src/da.h", + if (foutdated("./grab", "src/grab.c", "src/da.h", "vendor/librune/librune.a")) { env_or_default(&sv, "CC", CC); |