forked from openwrt/packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request openwrt#4154 from br101/horst-fix
horst: Fix build for LEDE
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
net/horst/patches/0001-Remove-_GNU_SOURCE-from-ccan-config.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
From c91e2f6d72823938052044eef858c3c675617ae4 Mon Sep 17 00:00:00 2001 | ||
From: Bruno Randolf <[email protected]> | ||
Date: Wed, 15 Mar 2017 21:22:48 +0000 | ||
Subject: [PATCH] Remove _GNU_SOURCE from ccan config | ||
|
||
It creates problems with LEDEs FORTIFY and is not needed | ||
--- | ||
config.h | 3 --- | ||
1 file changed, 3 deletions(-) | ||
|
||
diff --git a/config.h b/config.h | ||
index 5c398c4..7e1027a 100644 | ||
--- a/config.h | ||
+++ b/config.h | ||
@@ -1,8 +1,5 @@ | ||
/* Generated by CCAN configurator */ | ||
#ifndef CCAN_CONFIG_H | ||
#define CCAN_CONFIG_H | ||
-#ifndef _GNU_SOURCE | ||
-#define _GNU_SOURCE /* Always use GNU extensions. */ | ||
-#endif | ||
#define HAVE_TYPEOF 1 | ||
#endif /* CCAN_CONFIG_H */ | ||
-- | ||
2.7.4 | ||
|