lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

0001-Remove-_GNU_SOURCE-from-ccan-config.patch (651B)


      1 From c91e2f6d72823938052044eef858c3c675617ae4 Mon Sep 17 00:00:00 2001
      2 From: Bruno Randolf <br1@einfach.org>
      3 Date: Wed, 15 Mar 2017 21:22:48 +0000
      4 Subject: [PATCH] Remove _GNU_SOURCE from ccan config
      5 
      6 It creates problems with LEDEs FORTIFY and is not needed
      7 ---
      8  config.h | 3 ---
      9  1 file changed, 3 deletions(-)
     10 
     11 diff --git a/config.h b/config.h
     12 index 5c398c4..7e1027a 100644
     13 --- a/config.h
     14 +++ b/config.h
     15 @@ -1,8 +1,5 @@
     16  /* Generated by CCAN configurator */
     17  #ifndef CCAN_CONFIG_H
     18  #define CCAN_CONFIG_H
     19 -#ifndef _GNU_SOURCE
     20 -#define _GNU_SOURCE /* Always use GNU extensions. */
     21 -#endif
     22  #define HAVE_TYPEOF 1
     23  #endif /* CCAN_CONFIG_H */
     24 -- 
     25 2.7.4
     26