← Commit list

b87c17cd1

Denys Vlasenko
Denys Vlasenko
2010-06-18
FAILED Duration: 33s

Subject

*: stop defining _GNU_SOURCE in source files, it's in CFLAGS anyway

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

e2fsprogs/old_e2fsprogs/e2fsck.c+0 -4
@@ -29,10 +29,6 @@
* Licensed under GPLv2 or later, see file License in this tarball for details.
*/
-#ifndef _GNU_SOURCE
-#define _GNU_SOURCE 1 /* get strnlen() */
-#endif
-
#include "e2fsck.h" /*Put all of our defines here to clean things up*/
#define _(x) x
libbb/get_line_from_file.c+0 -5
@@ -9,11 +9,6 @@
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
-/* for getline() [GNUism]
-#ifndef _GNU_SOURCE
-#define _GNU_SOURCE 1
-#endif
-*/
#include "libbb.h"
/* This function reads an entire line from a text file, up to a newline
modutils/depmod.c+0 -2
@@ -8,8 +8,6 @@
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
-#undef _GNU_SOURCE
-#define _GNU_SOURCE
#include "libbb.h"
#include "modutils.h"
#include <sys/utsname.h> /* uname() */
shell/ash.c+0 -6
@@ -36,12 +36,6 @@
#define JOBS ENABLE_ASH_JOB_CONTROL
-#if DEBUG
-# ifndef _GNU_SOURCE
-# define _GNU_SOURCE
-# endif
-#endif
-
#include "busybox.h" /* for applet_names */
#include <paths.h>
#include <setjmp.h>
util-linux/hwclock.c+0 -7
@@ -12,13 +12,6 @@
#include <sys/utsname.h>
#include "rtc_.h"
-#if ENABLE_FEATURE_HWCLOCK_LONG_OPTIONS
-# ifndef _GNU_SOURCE
-# define _GNU_SOURCE
-# endif
-#endif
-
-
/* diff code is disabled: it's not sys/hw clock diff, it's some useless
* "time between hwclock was started and we saw CMOS tick" quantity.
* It's useless since hwclock is started at a random moment,