File: flags

package info (click to toggle)
3d-ascii-viewer-c 1.4.0%2Bgit20240503%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 188 kB
  • sloc: ansic: 1,852; makefile: 23
file content (43 lines) | stat: -rw-r--r-- 1,622 bytes parent folder | download
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 3d-ascii-viewer-c (1.4.0+git20240503+ds-2) unstable; urgency=medium
 .
   * Do not override default build flags, thanks Emanuele Rocca for the patch.
     (Closes: #1096202)
Author: Alex Myczko <tar@debian.org>
Bug-Debian: https://bugs.debian.org/1096202

---
The information above should follow the Patch Tagging Guidelines, please
checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
Bug: <upstream-bugtracker-url>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: (no|not-needed|<patch-forwarded-url>)
Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
Reviewed-By: <name and email of someone who approved/reviewed the patch>
Last-Update: 2025-02-19

--- 3d-ascii-viewer-c-1.4.0+git20240503+ds.orig/Makefile
+++ 3d-ascii-viewer-c-1.4.0+git20240503+ds/Makefile
@@ -1,9 +1,9 @@
 TARGET_EXEC := 3d-ascii-viewer
 TEMPDIR := tmp
 
-CC      := gcc
-CFLAGS  := -Wall -g
-LDFLAGS := -lm -lncurses
+CC      ?= gcc
+CFLAGS  := $(CFLAGS) -Wall
+LDFLAGS := $(LDFLAGS) -lm -lncurses
 SRC_DIR := src
 
 SRCS := $(shell find $(SRC_DIR) -name '*.c')