summaryrefslogtreecommitdiff
path: root/deskutils/pal/files/patch-src_Makefile.defs
blob: 4d33db6ce39f5c45c20524637dc4c9b9459149da (plain) (blame)
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
--- src/Makefile.defs.orig	2025-06-06 18:04:30 UTC
+++ src/Makefile.defs
@@ -3,13 +3,13 @@
 
 # directory to install to. Depending on your distribution, you might
 # want to change this to /usr/local
-prefix = /usr
-CC      = gcc
+prefix ?= /usr
+CC      ?= gcc
 
 PAL_VERSION = 0.4.3
 
 # used for portage, rpm, ...
-DESTDIR =
+DESTDIR ?=
 
 # optimizations/warnings
 OPT     = -O2 -Wall
@@ -23,6 +23,6 @@ endif
 DEFS    += -DG_DISABLE_DEPRECATED -DDEBUG
 endif
 
-CFLAGS   = ${OPT} 
-CPPFLAGS = ${INCLDIR} ${DEFS}
-LDFLAGS  = ${LIBDIR} ${LIBS}
+CFLAGS   ?= ${OPT} 
+CPPFLAGS += ${INCLDIR} ${DEFS}
+LDFLAGS  += ${LIBDIR} ${LIBS}