Codebase list c2050 / 0b16472
Initialize git-dpm Didier Raboud 6 years ago
5 changed file(s) with 47 addition(s) and 29 deletion(s). Raw diff Collapse all Expand all
99 # Important compiler and linker options
1010 CC=gcc
1111 LD=gcc
12 CFLAGS=-g -O2
13 LDFLAGS=-g -O2
12 CFLAGS+=-g -O2
13 LDFLAGS+=-g -O2
1414
1515 # Required libraries
1616 LDLIBS=
2222
2323 # Standard production rule
2424 .c.o:
25 $(CC) $(CFLAGS) -c $<
25 $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
2626
2727 # make all
2828 all: c2050
0 # see git-dpm(1) from git-dpm package
1 9b039767df21eecb2fd87f2906224a4bb7ff70f8
2 9b039767df21eecb2fd87f2906224a4bb7ff70f8
3 ee18550dc32e4bf9a44b716929b6b406ab41486d
4 ee18550dc32e4bf9a44b716929b6b406ab41486d
5 c2050_0.3b.orig.tar.gz
6 9d3698fd8c2db7acfe76e09088aad85f2e6dc8fd
7 13279
0 From 9b039767df21eecb2fd87f2906224a4bb7ff70f8 Mon Sep 17 00:00:00 2001
1 From: Didier Raboud <odyx@debian.org>
2 Date: Fri, 9 Feb 2018 17:15:47 +0100
3 Subject: Inherit CFLAGS and LDFLAGS from the environment. Also use CPPFLAGS in
4 the building command
5
6 Last-Update: 2014-04-13
7 ---
8 Makefile | 6 +++---
9 1 file changed, 3 insertions(+), 3 deletions(-)
10
11 diff --git a/Makefile b/Makefile
12 index 727aa49..5fc6601 100644
13 --- a/Makefile
14 +++ b/Makefile
15 @@ -10,8 +10,8 @@
16 # Important compiler and linker options
17 CC=gcc
18 LD=gcc
19 -CFLAGS=-g -O2
20 -LDFLAGS=-g -O2
21 +CFLAGS+=-g -O2
22 +LDFLAGS+=-g -O2
23
24 # Required libraries
25 LDLIBS=
26 @@ -23,7 +23,7 @@ MOD=$(SRC:.c=.o)
27
28 # Standard production rule
29 .c.o:
30 - $(CC) $(CFLAGS) -c $<
31 + $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
32
33 # make all
34 all: c2050
+0
-25
debian/patches/inherit_FLAGS_from_environment.patch less more
0 Description: Inherit CFLAGS and LDFLAGS from the environment. Also use CPPFLAGS in the building command
1 Author: Didier Raboud <odyx@debian.org>
2 Last-Update: 2014-04-13
3 --- a/Makefile
4 +++ b/Makefile
5 @@ -10,8 +10,8 @@
6 # Important compiler and linker options
7 CC=gcc
8 LD=gcc
9 -CFLAGS=-g -O2
10 -LDFLAGS=-g -O2
11 +CFLAGS+=-g -O2
12 +LDFLAGS+=-g -O2
13
14 # Required libraries
15 LDLIBS=
16 @@ -23,7 +23,7 @@
17
18 # Standard production rule
19 .c.o:
20 - $(CC) $(CFLAGS) -c $<
21 + $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
22
23 # make all
24 all: c2050
0 inherit_FLAGS_from_environment.patch
0 0001-Inherit-CFLAGS-and-LDFLAGS-from-the-environment.-Als.patch