From 3a43be7df48148774e1a3f6623d2b4d7eb282197 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Neusch=C3=A4fer?= Date: Mon, 14 Apr 2025 13:19:34 +0200 Subject: [PATCH] package/execline: remove -D_GNU_SOURCE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit execline is written against POSIX C and automatically sets -D_POSIX_C_SOURCE=200809L and -D_XOPEN_SOURCE=700. uclibc had a bug consistent with the error reported in the commit that added -D_GNU_SOURCE[1], but it has since been fixed[2]. [1]: see commit 106e43e303 ("package/execline: fix uclibc build") [2]: https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?id=354129807db12c792696b74d0cd38f2c5d2fd704 Signed-off-by: J. Neuschäfer Signed-off-by: Thomas Petazzoni --- package/execline/execline.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/package/execline/execline.mk b/package/execline/execline.mk index 4d9b668819..9f602cf60a 100644 --- a/package/execline/execline.mk +++ b/package/execline/execline.mk @@ -12,7 +12,6 @@ EXECLINE_INSTALL_STAGING = YES EXECLINE_DEPENDENCIES = skalibs EXECLINE_CONF_OPTS = \ - CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" \ --with-sysdeps=$(STAGING_DIR)/usr/lib/skalibs/sysdeps \ --with-include=$(STAGING_DIR)/include \ --with-dynlib=$(STAGING_DIR)/lib \