summaryrefslogtreecommitdiff
path: root/meta-networking/recipes-daemons/pure-ftpd/pure-ftpd/nostrip.patch
blob: 5cbbc5fa7b246cf4067e73dad4fe6ff7bdf649e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From 45eb89d1a6fde65caaf2d6e1a5d527f1ae7beb9c Mon Sep 17 00:00:00 2001
From: Paul Eggleton <paul.eggleton@linux.intel.com>
Date: Mon, 3 Dec 2012 17:12:11 +0000
Subject: [PATCH] Don't mess with CFLAGS and LDFLAGS when --with-minimal is specified

We especially don't want stripping enabled.

Upstream-Status: Inappropriate [config]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 configure.ac |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 3d59409..6836c0e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -413,8 +413,6 @@ AC_ARG_WITH(minimal,
     AC_DEFINE(NO_FTP_USERS)
     AC_DEFINE(WITHOUT_ASCII)    
     AC_DEFINE(BORING_MODE)
-    CFLAGS="$CFLAGS -Os -fomit-frame-pointer -fgcse -falign-functions=2 -falign-jumps=2 -fno-unroll-loops "
-    LDFLAGS="$LDFLAGS -s "
   fi ])
 
 AC_ARG_WITH(paranoidmsg,
-- 
1.7.1