File: honor-environment-compiler-flags

package info (click to toggle)
dhis-client 5.5-5
  • links: PTS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 296 kB
  • ctags: 160
  • sloc: ansic: 1,245; makefile: 63; sh: 51
file content (21 lines) | stat: -rw-r--r-- 441 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- dhis-client-5.5.orig/Makefile
+++ dhis-client-5.5/Makefile
@@ -24,14 +24,15 @@
 # SUCH DAMAGE.
 #
 
-CC=cc
+CC?=cc
 
 #
 # For password mode only (no QRC), remove the -DQRC=1 statement 
 # CFLAGS=-I/usr/local/include -Wall 
-CFLAGS=-I/usr/local/include -DQRC=1 -Wall 
+CFLAGS?=-Wall -O2 -pipe
+CFLAGS+=-DQRC=1
 
-LFLAGS=-L/usr/local/lib
+LFLAGS?=
 
 # For password mode only (no QRC), comment the following line and keep LIBS 
 # empty.