And instead override TARGET_CFLAGS to set _GNU_SOURCE accordingly since this is the upstream maintainer solution. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 37152master
parent
e3a369e597
commit
c6c0d9456c
@ -1,20 +0,0 @@ |
||||
--- a/trace-listen.c
|
||||
+++ b/trace-listen.c
|
||||
@@ -17,6 +17,7 @@
|
||||
*
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
*/
|
||||
+#define _GNU_SOURCE
|
||||
#define _LARGEFILE64_SOURCE
|
||||
#include <dirent.h>
|
||||
#include <stdio.h>
|
||||
--- a/trace-record.c
|
||||
+++ b/trace-record.c
|
||||
@@ -17,6 +17,7 @@
|
||||
*
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
*/
|
||||
+#define _GNU_SOURCE
|
||||
#include <dirent.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
Loading…
Reference in new issue