diff mbox series

[3/3] package/execline: Remove -D_GNU_SOURCE

Message ID 20241024-ska-bump-v1-3-776aa5d8b655@gmx.net
State New
Headers show
Series Update skarnet.org packages | expand

Commit Message

J. Neuschäfer Oct. 23, 2024, 10:45 p.m. UTC
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 <j.neuschaefer@gmx.net>
---
 package/execline/execline.mk | 1 -
 1 file changed, 1 deletion(-)


--
2.45.2
diff mbox series

Patch

diff --git a/package/execline/execline.mk b/package/execline/execline.mk
index 4d9b668819cc296b0838c09d7091d0f038902c26..9f602cf60af703eb00ec3dff409b3e14acc766ac 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 \