File: use-cflags.patch

package info (click to toggle)
mcelog 104-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 996 kB
  • ctags: 1,508
  • sloc: ansic: 7,739; sh: 481; makefile: 87
file content (14 lines) | stat: -rw-r--r-- 326 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Allow overriding CFLAGS
Author: Andrey Rahmatullin <wrar@wrar.name>
Last-Update: 2014-08-10

diff --git a/Makefile b/Makefile
index 2802244..646cfdc 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-CFLAGS := -g -Os
+CFLAGS += -g -Os
 prefix := /usr
 etcprefix :=
 # Define appropiately for your distribution