summaryrefslogtreecommitdiffstats
path: root/import-layers/meta-openembedded/meta-networking/recipes-daemons/pure-ftpd/pure-ftpd/nostrip.patch
blob: 4cb33bc5c8c638a7b5c94ca5e4cf4deac45f222c (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
31
From 0290bd6f4ceddff2c52dff833c9d31d24de7d0e1 Mon Sep 17 00:00:00 2001
From: Tudor Florea <tudor.florea@enea.com>
Date: Tue, 4 Aug 2015 03:07:01 +0200
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>
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
---
 configure.ac | 2 --
 1 file changed, 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 851d45d..dc410a1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -423,8 +423,6 @@ AC_ARG_WITH(minimal,
     AC_DEFINE(NO_FTP_USERS)
     AC_DEFINE(WITHOUT_ASCII)    
     AC_DEFINE(BORING_MODE)
-    CFLAGS="$CFLAGS -Os -fomit-frame-pointer -fno-unroll-loops "
-    LDFLAGS="$LDFLAGS -s "
   fi ])
 
 AC_ARG_WITH(paranoidmsg,
-- 
1.9.1

OpenPOWER on IntegriCloud