summaryrefslogtreecommitdiff
path: root/dev-libs/iniparser/files/iniparser-4.0-cflags.patch
blob: 817b087e6d20f3c86b0e812426bdf1a3aca9cac6 (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
From 14370f5ce94cce077c798db6611ef65cd1822df2 Mon Sep 17 00:00:00 2001
From: Sebastian Pipping <sebastian@pipping.org>
Date: Sat, 8 Aug 2015 19:04:08 +0200
Subject: [PATCH 1/2] Respect user CFLAGS

---
 Makefile | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/Makefile b/Makefile
index 78708a5..744405a 100644
--- a/Makefile
+++ b/Makefile
@@ -6,11 +6,6 @@
 CC      ?= gcc
 
 CFLAGS  += -fPIC -Wall -Wextra -ansi -pedantic
-ifndef DEBUG
-CFLAGS	+= -O2
-else
-CFLAGS  += -g
-endif
 
 # Ar settings to build the library
 AR	    ?= ar
-- 
2.5.0