Debian Codegraph @

debian/patches/do_not_hardcode_cflags

raw
1 Description: Do not hardcode CFLAGS
2 Adjust the upstream Makefile to not hardcode CFLAGS. Also adjusts VER
3 that upstream forgot to update.
4 Author: Gwen Weinholt <[email protected]>
5 Bug-Debian: https://bugs.debian.org/1099427
6
7 --- alevt-1.8.3.orig/Makefile
8 +++ alevt-1.8.3/Makefile
9 @@ -1,4 +1,4 @@
10 -VER=1.8.2
11 +VER=1.8.3
12 OPT=-O2 -g -w
13 #OPT=-O -g
14 DEFS=-DWITH_PNG
15 @@ -14,7 +14,7 @@ HOSTCC=$(CC)
16 DESTDIR=
17 PREFIX=/usr/local
18
19 -CFLAGS=$(OPT) -DVERSION=\"$(VER)\" $(DEFS) -I$(USR_X11R6)/include
20 +CFLAGS+=$(OPT) -DVERSION=\"$(VER)\" $(DEFS) -I$(USR_X11R6)/include
21
22 PKGS="x11"
23